Home
last modified time | relevance | path

Searched refs:json_string_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/json/
Djson_writer.cc54 json_string_(json) { in JSONWriter()
61 json_string_->append("null"); in BuildJSONString()
69 json_string_->append(value ? "true" : "false"); in BuildJSONString()
77 json_string_->append(IntToString(value)); in BuildJSONString()
89 json_string_->append(Int64ToString(static_cast<int64_t>(value))); in BuildJSONString()
109 json_string_->append(real); in BuildJSONString()
117 EscapeJSONString(value, true, json_string_); in BuildJSONString()
122 json_string_->push_back('['); in BuildJSONString()
124 json_string_->push_back(' '); in BuildJSONString()
135 json_string_->push_back(','); in BuildJSONString()
[all …]
Djson_string_value_serializer.cc14 : json_string_(json_string), in JSONStringValueSerializer()
31 if (!json_string_) in SerializeInternal()
40 return base::JSONWriter::WriteWithOptions(root, options, json_string_); in SerializeInternal()
46 : json_string_(json_string), options_(options) {} in JSONStringValueDeserializer()
53 return base::JSONReader::ReadAndReturnError(json_string_, options_, in Deserialize()
Djson_string_value_serializer.h41 std::string* json_string_; variable
69 base::StringPiece json_string_;
Djson_writer.h68 std::string* json_string_; variable