Lines Matching refs:json
5 // A JSON parser. Converts strings of JSON into a Value object (see
54 // the JSON object, which speeds up certain operations on children. However,
94 // Reads and parses |json|, returning a Value. The caller owns the returned
95 // instance. If |json| is not a properly formed JSON string, returns NULL.
96 static scoped_ptr<Value> Read(const StringPiece& json);
98 // Reads and parses |json|, returning a Value owned by the caller. The
101 static scoped_ptr<Value> Read(const StringPiece& json, int options);
103 // Reads and parses |json| like Read(). |error_code_out| and |error_msg_out|
107 static scoped_ptr<Value> ReadAndReturnError(const StringPiece& json,
114 // Converts a JSON parse error code into a human readable message.
119 scoped_ptr<Value> ReadToValue(const std::string& json);