Lines Matching defs:json
5 #include "third_party/libaddressinput/src/cpp/src/util/json.h"
11 #include "base/json/json_reader.h"
22 // Returns |json| parsed into a JSON dictionary. Sets |parser_error| to true if
24 ::scoped_ptr<const base::DictionaryValue> Parse(const std::string& json,
29 // |json| is converted to a |c_str()| here because rapidjson and other parts
31 ::scoped_ptr<const base::Value> parsed(base::JSONReader::Read(json.c_str()));
48 explicit JsonImpl(const std::string& json)
49 : owned_(Parse(json, &parser_error_)),
90 bool Json::ParseObject(const std::string& json) {
92 impl_.reset(new JsonImpl(json));