Home | History | Annotate | Download | only in json

Lines Matching refs:json

5 #include "base/json/json_writer.h"
12 #include "base/json/string_escape.h"
28 bool JSONWriter::Write(const Value& node, std::string* json) {
29 return WriteWithOptions(node, 0, json);
35 std::string* json) {
36 json->clear();
38 json->reserve(1024);
40 JSONWriter writer(options, json);
44 json->append(kPrettyPrintLineEnding);
49 JSONWriter::JSONWriter(int options, std::string* json)
54 json_string_(json) {
55 DCHECK(json);
94 // makes sure that when we read the JSON back, it's interpreted as a
101 // The JSON spec requires that non-integer values in the range (-1,1)