| 63 | } |
| 64 | |
| 65 | void ParseJsonObject(const json& jsonObject, AnyMap& anyMap) |
| 66 | { |
| 67 | for (const auto& [key, jsonValue] : jsonObject.items()) |
| 68 | { |
| 69 | Any anyValue = ParseJsonValue(jsonValue); |
| 70 | if (!anyValue.Empty()) |
| 71 | { |
| 72 | anyMap.insert(std::make_pair(key, anyValue)); |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | void ParseJsonArray(const json& jsonArray, AnyVector& anyVector) |
| 78 | { |
no test coverage detected