Adobe Source Libraries  1.43
Public Types | Public Member Functions | List of all members
json_parser< T > Class Template Reference

A utility class that parses raw JSON data and uses a helper class to construct the desired representations of what is parsed. More...

Public Types

typedef T::object_type object_type
 
typedef T::array_type array_type
 
typedef T::value_type value_type
 
typedef T::string_type string_type
 
typedef T::key_type key_type
 

Public Member Functions

 json_parser (const char *p)
 
value_type parse ()
 

Detailed Description

template<typename T>
class adobe::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.

The helper class, T has some requirements:

Definition at line 53 of file json.hpp.

Member Typedef Documentation

typedef T::object_type object_type

Definition at line 56 of file json.hpp.

typedef T::array_type array_type

Definition at line 57 of file json.hpp.

typedef T::value_type value_type

Definition at line 58 of file json.hpp.

typedef T::string_type string_type

Definition at line 59 of file json.hpp.

typedef T::key_type key_type

Definition at line 60 of file json.hpp.

Constructor & Destructor Documentation

json_parser ( const char *  p)
explicit

Definition at line 67 of file json.hpp.

Member Function Documentation

value_type parse ( )

Definition at line 73 of file json.hpp.