aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/json_value_output.cpp
diff options
context:
space:
mode:
authorArslan Urtashev <urtashev@gmail.com>2022-02-10 16:48:55 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:55 +0300
commit1136f2ce7cce7bcc84e695272c0d92d4eb900c2b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/json_value_output.cpp
parentb97740540e7302cec9efa181e106ae1990a0cc1c (diff)
downloadydb-1136f2ce7cce7bcc84e695272c0d92d4eb900c2b.tar.gz
Restoring authorship annotation for Arslan Urtashev <urtashev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json_value_output.cpp')
-rw-r--r--library/cpp/protobuf/json/json_value_output.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/protobuf/json/json_value_output.cpp b/library/cpp/protobuf/json/json_value_output.cpp
index 88f52f8490..d845cc1c74 100644
--- a/library/cpp/protobuf/json/json_value_output.cpp
+++ b/library/cpp/protobuf/json/json_value_output.cpp
@@ -1,5 +1,5 @@
-#include "json_value_output.h"
-
+#include "json_value_output.h"
+
#include <library/cpp/json/json_reader.h>
namespace NProtobufJson {
@@ -17,7 +17,7 @@ namespace NProtobufJson {
void TJsonValueOutput::DoWrite(const TStringBuf& s) {
WriteImpl(s);
- }
+ }
void TJsonValueOutput::DoWrite(const TString& s) {
WriteImpl(s);
@@ -34,7 +34,7 @@ namespace NProtobufJson {
void TJsonValueOutput::DoWrite(long long i) {
WriteImpl(i);
}
-
+
void TJsonValueOutput::DoWrite(unsigned long long i) {
WriteImpl(i);
}
@@ -69,7 +69,7 @@ namespace NProtobufJson {
void TJsonValueOutput::DoEndList() {
Y_ASSERT(Context.top().Type == TContext::JSON_ARRAY);
Context.pop();
- }
+ }
void TJsonValueOutput::DoBeginObject() {
Y_ASSERT(Context.top().Type == TContext::JSON_ARRAY || Context.top().Type == TContext::JSON_AFTER_KEY);
@@ -85,7 +85,7 @@ namespace NProtobufJson {
void TJsonValueOutput::DoWriteKey(const TStringBuf& key) {
Y_ASSERT(Context.top().Type == TContext::JSON_MAP);
Context.emplace(TContext::JSON_AFTER_KEY, Context.top().Value[key]);
- }
+ }
void TJsonValueOutput::DoEndObject() {
Y_ASSERT(Context.top().Type == TContext::JSON_MAP);