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

Function ValidateJsonThrow

library/cpp/json/json_reader.h:91–93  ·  view source on GitHub ↗

The following functions return 'true' if the JSON parsing is successful or throw TJsonException otherwise. */

Source from the content-addressed store, hash-verified

89 The following functions return 'true' if the JSON parsing is successful or throw TJsonException otherwise.
90 */
91 inline bool ValidateJsonThrow(IInputStream* in, const TJsonReaderConfig* config) {
92 return ValidateJson(in, config, true);
93 }
94
95 inline bool ValidateJsonThrow(TStringBuf in, const TJsonReaderConfig& config = TJsonReaderConfig()) {
96 return ValidateJson(in, config, true);

Callers

nothing calls this directly

Calls 2

ValidateJsonFunction · 0.70
TJsonReaderConfigClass · 0.70

Tested by

no test coverage detected