| 1062 | //**************************************************************** |
| 1063 | |
| 1064 | bool GetMapPointer(const TJsonValue& jv, const size_t index, const TJsonValue::TMapType** value) { |
| 1065 | const TJsonValue* v; |
| 1066 | if (!jv.GetValuePointer(index, &v) || !v->IsMap()) { |
| 1067 | return false; |
| 1068 | } |
| 1069 | *value = &v->GetMap(); |
| 1070 | return true; |
| 1071 | } |
| 1072 | |
| 1073 | bool GetArrayPointer(const TJsonValue& jv, const size_t index, const TJsonValue::TArray** value) { |
| 1074 | const TJsonValue* v; |
no test coverage detected