Home | History | Annotate | Download | only in json

Lines Matching refs:json

5 // A JSON parser.  Converts strings of JSON into a Value object (see
112 // Reads and parses |json|, returning a Value. The caller owns the returned
113 // instance. If |json| is not a properly formed JSON string, returns NULL.
116 static Value* Read(const std::string& json, bool allow_trailing_comma);
118 // Reads and parses |json| like Read(). |error_code_out| and |error_msg_out|
122 static Value* ReadAndReturnError(const std::string& json,
127 // Converts a JSON parse error code into a human readable message.
139 // Reads and parses |json|, returning a Value. The caller owns the returned
140 // instance. If |json| is not a properly formed JSON string, returns NULL and
143 // array. Otherwise, it can be any valid JSON type.
146 Value* JsonToValue(const std::string& json, bool check_root,
156 // Recursively build Value. Returns NULL if we don't have a valid JSON
181 // Grabs the next token in the JSON stream. This does not increment the