Lines Matching refs:json
5 // A JSON parser. Converts strings of JSON into a Value object (see
57 // the JSON object, which speeds up certain operations on children. However,
97 // Reads and parses |json|, returning a Value. The caller owns the returned
98 // instance. If |json| is not a properly formed JSON string, returns NULL.
99 static Value* Read(const StringPiece& json);
101 // Reads and parses |json|, returning a Value owned by the caller. The
104 static Value* Read(const StringPiece& json, int options);
106 // Reads and parses |json| like Read(). |error_code_out| and |error_msg_out|
110 static Value* ReadAndReturnError(const StringPiece& json,
115 // Converts a JSON parse error code into a human readable message.
120 Value* ReadToValue(const std::string& json);