Home | History | Annotate | Download | only in json

Lines Matching refs:json

5 #include "base/json/json_writer.h"
7 #include "base/json/string_escape.h"
27 std::string* json) {
28 WriteWithOptionalEscape(node, pretty_print, true, json);
35 std::string* json) {
36 json->clear();
38 json->reserve(1024);
39 JSONWriter writer(pretty_print, json);
42 json->append(kPrettyPrintLineEnding);
45 JSONWriter::JSONWriter(bool pretty_print, std::string* json)
46 : json_string_(json),
48 DCHECK(json);
84 // makes sure that when we read the JSON back, it's interpreted as a
91 // The JSON spec requires that non-integer values in the range (-1,1)
186 NOTREACHED() << "unknown json type";