aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_reader.cpp
diff options
context:
space:
mode:
authorfamilom <familom@yandex-team.ru>2022-02-10 16:49:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:49 +0300
commitf281aaf77179d27d6208b873e95ae6cd45765a63 (patch)
treeb4229c6ece98c855bd9821ef0b656042c29a8953 /library/cpp/json/json_reader.cpp
parent53d07fb9e28d179add32cd299c9341bf8a231a31 (diff)
downloadydb-f281aaf77179d27d6208b873e95ae6cd45765a63.tar.gz
Restoring authorship annotation for <familom@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/json_reader.cpp')
-rw-r--r--library/cpp/json/json_reader.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/json/json_reader.cpp b/library/cpp/json/json_reader.cpp
index 072c8deafe..03233f90d0 100644
--- a/library/cpp/json/json_reader.cpp
+++ b/library/cpp/json/json_reader.cpp
@@ -1,5 +1,5 @@
-#include "json_reader.h"
-
+#include "json_reader.h"
+
#include "rapidjson_helpers.h"
#include <contrib/libs/rapidjson/include/rapidjson/error/en.h>
@@ -8,7 +8,7 @@
#include <util/generic/stack.h>
#include <util/string/cast.h>
-#include <util/system/yassert.h>
+#include <util/system/yassert.h>
#include <util/string/builder.h>
namespace NJson {
@@ -94,7 +94,7 @@ namespace NJson {
bool TParserCallbacks::OnString(const TStringBuf& val) {
return SetValue(val);
}
-
+
bool TParserCallbacks::OnDouble(double val) {
return SetValue(val);
}
@@ -148,7 +148,7 @@ namespace NJson {
void TJsonReaderConfig::SetBufferSize(size_t bufferSize) {
BufferSize = Max((size_t)1, Min(bufferSize, DEFAULT_BUFFER_LEN));
}
-
+
size_t TJsonReaderConfig::GetBufferSize() const {
return BufferSize;
}
@@ -437,7 +437,7 @@ namespace NJson {
: Impl(impl)
{
}
-
+
bool Null() {
return Impl.OnNull();
}
@@ -445,7 +445,7 @@ namespace NJson {
bool Bool(bool b) {
return Impl.OnBoolean(b);
}
-
+
template <class U>
bool ProcessUint(U u) {
if (Y_LIKELY(u <= ui64(Max<i64>()))) {