MCPcopy Create free account
hub / github.com/catboost/catboost / ReadJsonTree

Function ReadJsonTree

library/cpp/json/json_reader.cpp:437–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 15

ReadJsonTreeImplFunction · 0.70
LoadMethod · 0.50
FromJsonStringMethod · 0.50
PatchFunction · 0.50
FromJsonStringMethod · 0.50
MergeSubprocessReportMethod · 0.50
ReInitializeMethod · 0.50
AreFilesDifferentFunction · 0.50
ParseOptionsFunction · 0.50

Calls 3

ReadJsonFunction · 0.70
ReadJsonTreeImplFunction · 0.70
SetTypeMethod · 0.45

Tested by

no test coverage detected