Lines Matching refs:json
54 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown() argument
57 if (!json.isObject()) { in AllFieldsAreKnown()
63 auto json_members = json.getMemberNames(); in AllFieldsAreKnown()
101 const Json::Value& json_value = json[json_name]; in AllFieldsAreKnown()
146 const std::string& json, std::string* error) { in AllFieldsAreKnown() argument
149 if (!reader.parse(json, value)) { in AllFieldsAreKnown()
163 bool EqReformattedJson(const std::string& json, in EqReformattedJson() argument
168 if (!reader.parse(json, old_json)) { in EqReformattedJson()
173 auto new_json_string = internal::FormatJson(json, scratch_space); in EqReformattedJson()
210 ErrorOr<std::string> FormatJson(const std::string& json, in FormatJson() argument
212 auto res = internal::JsonStringToMessage(json, scratch_space); in FormatJson()