aboutsummaryrefslogtreecommitdiffstats
path: root/library
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
commit50dee42411ef99e9d2e8a1fa4138bf1774932a74 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parent43619304a79ac4c654206587d634da6676263ad6 (diff)
downloadydb-50dee42411ef99e9d2e8a1fa4138bf1774932a74.tar.gz
Restoring authorship annotation for <kohen@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-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 bb233269c1..b673788330 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);