Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/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()
137 json_string_->push_back(','); in BuildJSONString()
[all …]
Djson_writer.h66 std::string* json_string_; variable
/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()
137 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()
45 : json_string_(json_string), in JSONStringValueDeserializer()
55 json_string_, allow_trailing_comma_ ? base::JSON_ALLOW_TRAILING_COMMAS in Deserialize()
Djson_string_value_serializer.h41 std::string* json_string_; variable
71 base::StringPiece json_string_;
Djson_writer.h66 std::string* json_string_; variable