| 1042 | //**************************************************************** |
| 1043 | |
| 1044 | bool GetMapPointer(const TJsonValue& jv, const size_t index, const TJsonValue::TMapType** value) { |
| 1045 | const TJsonValue* v; |
| 1046 | if (!jv.GetValuePointer(index, &v) || !v->IsMap()) { |
| 1047 | return false; |
| 1048 | } |
| 1049 | *value = &v->GetMap(); |
| 1050 | return true; |
| 1051 | } |
| 1052 | |
| 1053 | bool GetArrayPointer(const TJsonValue& jv, const size_t index, const TJsonValue::TArray** value) { |
| 1054 | const TJsonValue* v; |
no test coverage detected