10#ifndef __RTJsonParser_h__
11#define __RTJsonParser_h__ included
17#include <RTJsonParserUtils.h>
18#include <RTJsonResult.h>
25 int parseString( std::string & str,
const char * jsonString );
26 int parseNumber( std::string & num,
const char * jsonString );
27 RTJsonToken getFieldName( std::string &,
const char * ,
size_t & );
29 bool parseArray(
RTJsonResult & result,
const std::string & jsonString,
size_t & pos );
31 bool parseObject(
RTJsonResult & result,
const std::string & jsonString,
size_t & pos );
33 bool parseField(
RTJsonResult & result,
const std::string & jsonString,
size_t & pos );
Utility for parsing JSON.
Definition: RTJsonParser.h:23
bool parseJsonString(RTJsonResult &result, const std::string &jsonStr)
Parse a JSON string.
Definition: RTJsonParserUtils.h:47
Represents the result of parsing a JSON string.
Definition: RTJsonResult.h:29