Lines Matching refs:JSONWriter
29 bool JSONWriter::Write(ValueView node, std::string* json, size_t max_depth) { in Write()
34 bool JSONWriter::WriteWithOptions(ValueView node, in WriteWithOptions()
44 JSONWriter writer(options, json, max_depth); in WriteWithOptions()
56 JSONWriter::JSONWriter(int options, std::string* json, size_t max_depth) in JSONWriter() function in base::JSONWriter
68 bool JSONWriter::BuildJSONString(absl::monostate node, size_t depth) { in BuildJSONString()
73 bool JSONWriter::BuildJSONString(bool node, size_t depth) { in BuildJSONString()
78 bool JSONWriter::BuildJSONString(int node, size_t depth) { in BuildJSONString()
83 bool JSONWriter::BuildJSONString(double node, size_t depth) { in BuildJSONString()
110 bool JSONWriter::BuildJSONString(std::string_view node, size_t depth) { in BuildJSONString()
115 bool JSONWriter::BuildJSONString(const Value::BlobStorage& node, size_t depth) { in BuildJSONString()
121 bool JSONWriter::BuildJSONString(const Value::Dict& node, size_t depth) { in BuildJSONString()
175 bool JSONWriter::BuildJSONString(const Value::List& node, size_t depth) { in BuildJSONString()
215 void JSONWriter::IndentLine(size_t depth) { in IndentLine()
221 if (!JSONWriter::Write(node, &result, max_depth)) { in WriteJson()
231 if (!JSONWriter::WriteWithOptions(node, static_cast<int>(options), &result, in WriteJsonWithOptions()