Adobe Source Libraries 2.0.0
A collection of C++ libraries.
|
Classes | |
class | json_parser< T > |
A utility class that parses raw JSON data and uses a helper class to construct the desired representations of what is parsed. More... | |
class | json_generator< T, O > |
A utility class that uses a helper class to access a provided data structure and output well-formed JSON. More... | |
struct | asl_json_helper_t |
A utility class can be used with json_parser and json_generator to round trip JSON data through the common ASL data structures. More... |
Functions | |
adobe::any_regular_t | json_parse (const char *data) |
A utility routine that takes in raw JSON data and produces a representation of that data using the common ASL data structures. | |
template<typename O> | |
O | json_generate (const adobe::any_regular_t &x, O out) |
A utility routine that takes in an any_regular_t and produces from it a well-formed representation of the structure in JSON. |
adobe::any_regular_t json_parse | ( | const char * | data | ) |
data | raw JSON data. |
Definition at line 92 of file json_helper.hpp.
O json_generate | ( | const adobe::any_regular_t & | x, |
O | out ) |
x | The encapsulated structure. This root structure must be either an array_t or a dictionary_t. |
out | Output iterator to which the representative JSON will be copied. |
Definition at line 117 of file json_helper.hpp.