spirit2json
A JSON parser/generator written with boost spirit
Public Attributes
spirit2json::json_grammar< Iterator > Struct Template Reference

Spirit2 qi grammar for parsing json strings to JSONValue AST representations. More...

List of all members.

Public Attributes

qi::rule< Iterator, JSONValue(),
qi::space_type > 
val
 Rule parsing JSONValue types.
qi::rule< Iterator, JSONArray(),
qi::space_type > 
arr
 Rule parsing JSONArray types.
qi::rule< Iterator, JSONObject(),
qi::space_type > 
obj
 Rule parsing JSONObject types.
qi::rule< Iterator, std::wstring()> str
 Rule parsing JSONString types.
qi::symbols< char const, char
const > 
escaped_char
 List of escape characters and their code.
qi::rule< Iterator, JSONNull(),
qi::space_type > 
null
 Rule parsing JSONNull types.
qi::rule< Iterator, std::pair
< JSONString, JSONValue >
), qi::space_type > 
pair
 Rule parsing pairs in JSONObject types.

Detailed Description

template<typename Iterator>
struct spirit2json::json_grammar< Iterator >

Spirit2 qi grammar for parsing json strings to JSONValue AST representations.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator