aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_reader.h
diff options
context:
space:
mode:
authorqkrorlqr <qkrorlqr@yandex-team.ru>2022-02-10 16:47:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:21 +0300
commiteec632e483ae34bc211138c67434b1e0e6054ced (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/json/json_reader.h
parent9b89266638b10d40309e31dcb7caa2fc52b2aefd (diff)
downloadydb-eec632e483ae34bc211138c67434b1e0e6054ced.tar.gz
Restoring authorship annotation for <qkrorlqr@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/json_reader.h')
-rw-r--r--library/cpp/json/json_reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/json/json_reader.h b/library/cpp/json/json_reader.h
index 437bf18bad..b673788330 100644
--- a/library/cpp/json/json_reader.h
+++ b/library/cpp/json/json_reader.h
@@ -64,12 +64,12 @@ namespace NJson {
TJsonCallbacks c(throwOnError);
return ReadJson(in, config, &c);
}
-
+
inline bool ValidateJson(TStringBuf in, const TJsonReaderConfig& config = TJsonReaderConfig(), bool throwOnError = false) {
TMemoryInput min(in.data(), in.size());
return ValidateJson(&min, &config, throwOnError);
}
-
+
inline bool ValidateJsonThrow(IInputStream* in, const TJsonReaderConfig* config) {
return ValidateJson(in, config, true);
}