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

Function ValidateJson

library/cpp/json/ordered_maps/json_reader_ordered.h:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 };
59
60 inline bool ValidateJson(IInputStream* in, const TJsonReaderConfig* config, bool throwOnError = false) {
61 TJsonCallbacks c(throwOnError);
62 return ReadJson(in, config, &c);
63 }
64
65 inline bool ValidateJson(TStringBuf in, const TJsonReaderConfig& config = TJsonReaderConfig(), bool throwOnError = false) {
66 TMemoryInput min(in.data(), in.size());

Callers 2

ValidateJsonThrowFunction · 0.70
LLVMFuzzerTestOneInputFunction · 0.50

Calls 4

ReadJsonFunction · 0.70
TJsonReaderConfigClass · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected