aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkohen <kohen@yandex-team.ru>2022-02-10 16:50:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:21 +0300
commit43619304a79ac4c654206587d634da6676263ad6 (patch)
treeb1f16802b6250b3fb5245cc915653fc353904977
parent637f9eb7adbfc59aaf67eb02ff355478430f5c07 (diff)
downloadydb-43619304a79ac4c654206587d634da6676263ad6.tar.gz
Restoring authorship annotation for <kohen@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--library/cpp/json/json_reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/json/json_reader.h b/library/cpp/json/json_reader.h
index b673788330..bb233269c1 100644
--- a/library/cpp/json/json_reader.h
+++ b/library/cpp/json/json_reader.h
@@ -107,7 +107,7 @@ namespace NJson {
IN_ARRAY,
FINISH
} CurrentState;
-
+
template <class T>
bool SetValue(const T& value) {
switch (CurrentState) {
@@ -128,12 +128,12 @@ namespace NJson {
ythrow yexception() << "TParserCallbacks::SetValue invalid enum";
}
return true;
- }
-
+ }
+
bool OpenComplexValue(EJsonValueType type);
bool CloseComplexValue();
};
-
+
//// relaxed json, used in library/cpp/scheme
bool ReadJsonFastTree(TStringBuf in, TJsonValue* out, bool throwOnError = false, bool notClosedBracketIsError = false);
TJsonValue ReadJsonFastTree(TStringBuf in, bool notClosedBracketIsError = false);