Searched refs:ReadToValue (Results 1 – 6 of 6) sorted by relevance
23 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST()28 root = JSONReader().ReadToValue("nu"); in TEST()32 root = JSONReader().ReadToValue("true "); in TEST()37 root = JSONReader().ReadToValue("/* comment */null"); in TEST()40 root = JSONReader().ReadToValue("40 /* comment */"); in TEST()43 root = JSONReader().ReadToValue("true // comment"); in TEST()46 root = JSONReader().ReadToValue("/* comment */\"sample string\""); in TEST()52 root = JSONReader().ReadToValue("[1, /* comment, 2 ] */ \n 3]"); in TEST()61 root = JSONReader().ReadToValue("[1, /*a*/2, 3]"); in TEST()65 root = JSONReader().ReadToValue("/* comment **/42"); in TEST()[all …]
119 scoped_ptr<Value> ReadToValue(const std::string& json);
108 scoped_ptr<Value> JSONReader::ReadToValue(const std::string& json) { in ReadToValue() function in base::JSONReader
28 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST()33 root = JSONReader().ReadToValue("nu"); in TEST()37 root = JSONReader().ReadToValue("true "); in TEST()42 root = JSONReader().ReadToValue("/* comment */null"); in TEST()45 root = JSONReader().ReadToValue("40 /* comment */"); in TEST()48 root = JSONReader().ReadToValue("true // comment"); in TEST()51 root = JSONReader().ReadToValue("/* comment */\"sample string\""); in TEST()57 root = JSONReader().ReadToValue("[1, /* comment, 2 ] */ \n 3]"); in TEST()66 root = JSONReader().ReadToValue("[1, /*a*/2, 3]"); in TEST()70 root = JSONReader().ReadToValue("/* comment **/42"); in TEST()[all …]