Open Lighting Architecture
0.9.4
|
Parse a string containing Json data.
As the JsonLexer encounters each token in the document, it calls the appropriate method on the JsonParserInterface. It's not quite a pure lexer because it doesn't pass through tokens like ':' but you get the idea.
Static Public Member Functions | |
static bool | Parse (const std::string &input, class JsonParserInterface *handler) |
Parse a string containing JSON data. |
|
static |
Parse a string containing JSON data.
input | the input string |
handler | the JsonParserInterface to pass tokens to. |