Home | History | Annotate | Download | only in json

Lines Matching refs:json

5 #include "base/json/json_reader.h"
91 "Unsupported encoding. JSON must be UTF-8.";
96 Value* JSONReader::Read(const std::string& json,
98 return ReadAndReturnError(json, allow_trailing_comma, NULL);
102 Value* JSONReader::ReadAndReturnError(const std::string& json,
106 Value* root = reader.JsonToValue(json, true, allow_trailing_comma);
127 Value* JSONReader::JsonToValue(const std::string& json, bool check_root,
130 if (!IsStringUTF8(json.c_str())) {
137 std::wstring json_wide(UTF8ToWide(json));
140 // When the input JSON string starts with a UTF-8 Byte-Order-Mark
233 // Trailing commas are invalid according to the JSON RFC, but some
293 // Trailing commas are invalid according to the JSON RFC, but some