Lines Matching refs:json
65 Expected<json::Value> json = json::parse(text); in CreateInstance() local
66 if (!json) { in CreateInstance()
67 LLDB_LOG_ERROR(log, json.takeError(), in CreateInstance()
72 json::Path::Root root; in CreateInstance()
74 if (!fromJSON(*json, header, root)) { in CreateInstance()
86 if (!fromJSON(*json, body, root)) { in CreateInstance()
123 Expected<json::Value> json = json::parse(text); in GetModuleSpecifications() local
124 if (!json) { in GetModuleSpecifications()
125 LLDB_LOG_ERROR(log, json.takeError(), in GetModuleSpecifications()
130 json::Path::Root root; in GetModuleSpecifications()
132 if (!fromJSON(*json, header, root)) { in GetModuleSpecifications()
205 bool fromJSON(const json::Value &value, ObjectFileJSON::Header &header, in fromJSON()
206 json::Path path) { in fromJSON()
207 json::ObjectMapper o(value, path); in fromJSON()
212 bool fromJSON(const json::Value &value, ObjectFileJSON::Body &body, in fromJSON()
213 json::Path path) { in fromJSON()
214 json::ObjectMapper o(value, path); in fromJSON()