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
commit9c61d3a2cac2a16341e82c613b030fcc03bf277a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json/json_reader.cpp
parentf281aaf77179d27d6208b873e95ae6cd45765a63 (diff)
downloadydb-9c61d3a2cac2a16341e82c613b030fcc03bf277a.tar.gz
Restoring authorship annotation for <familom@yandex-team.ru>. Commit 2 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 03233f90d0..072c8deafe 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>()))) {