| 435 | |
| 436 | template <class TRapidJsonCompliantInputStream> |
| 437 | bool ReadJsonTree(TRapidJsonCompliantInputStream& is, const TJsonReaderConfig* config, TJsonValue* out, bool throwOnError) { |
| 438 | out->SetType(NJson::JSON_NULL); |
| 439 | |
| 440 | TJsonValueBuilder handler(*out, {.MaxDepth = config->MaxDepth}); |
| 441 | |
| 442 | return ReadJson(is, config, handler, throwOnError); |
| 443 | } |
| 444 | |
| 445 | template <class TData> |
| 446 | bool ReadJsonTreeImpl(TData* in, const TJsonReaderConfig* config, TJsonValue* out, bool throwOnError) { |
no test coverage detected