Home
last modified time | relevance | path

Searched refs:JsonToValue (Results 1 – 8 of 8) sorted by relevance

/external/chromium/base/json/
Djson_reader_unittest.cc18 root.reset(JSONReader().JsonToValue(" null ", false, false)); in TEST()
23 root.reset(JSONReader().JsonToValue("nu", false, false)); in TEST()
27 root.reset(JSONReader().JsonToValue("true ", false, false)); in TEST()
32 root.reset(JSONReader().JsonToValue("/* comment */null", false, false)); in TEST()
35 root.reset(JSONReader().JsonToValue("40 /* comment */", false, false)); in TEST()
38 root.reset(JSONReader().JsonToValue("true // comment", false, false)); in TEST()
41 root.reset(JSONReader().JsonToValue("/* comment */\"sample string\"", in TEST()
50 root.reset(JSONReader().JsonToValue("43", false, false)); in TEST()
58 root.reset(JSONReader().JsonToValue("043", false, false)); in TEST()
60 root.reset(JSONReader().JsonToValue("0x43", false, false)); in TEST()
[all …]
Djson_reader.h146 Value* JsonToValue(const std::string& json, bool check_root,
Djson_reader.cc101 Value* root = reader.JsonToValue(json, true, allow_trailing_comma); in ReadAndReturnError()
145 Value* JSONReader::JsonToValue(const std::string& json, bool check_root, in JsonToValue() function in base::JSONReader
/external/chromium/chrome/browser/sync/glue/
Dpreference_change_processor.cc185 scoped_ptr<Value> value(reader.JsonToValue(preference.value(), false, false)); in ReadPreference()
Dpreference_model_associator.cc63 reader.JsonToValue(preference.value(), false, false)); in InitPrefNodeAndAssociate()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_preference_unittest.cc124 return reader.JsonToValue(specifics.value(), false, false); in GetSyncedValue()
237 scoped_ptr<Value> value(reader.JsonToValue(specifics.value(), false, false)); in TEST_F()
/external/chromium/net/test/
Dtest_server.cc314 scoped_ptr<Value> value(json_reader.JsonToValue(server_data, true, false)); in ParseServerData()
/external/chromium/chrome/browser/ui/webui/options/
Dcore_options_handler.cc318 base::JSONReader().JsonToValue(json_string, in HandleSetPref()