Home | History | Annotate | Download | only in json

Lines Matching refs:json

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