Lines Matching refs:json
9 #include <base/json/json_reader.h>
10 #include <base/json/json_writer.h>
193 // Make sure we serialize the JSON back without any pretty print so
195 auto json = GetDataAsJson();
196 if (json)
197 base::JSONWriter::Write(*json, &value);
256 void ServerResponse::ReplyJson(int status_code, const base::Value* json) {
259 *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text);
269 base::DictionaryValue json;
271 json.SetString(pair.first, pair.second);
273 ReplyJson(status_code, &json);