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
commitb97740540e7302cec9efa181e106ae1990a0cc1c (patch)
tree1a2a0bfe523c3272d207e2d75254a41d3945a3bb /library/cpp/protobuf/json/json_value_output.cpp
parent31789673dc3562bc7540e00fe031ba84ae282c24 (diff)
downloadydb-b97740540e7302cec9efa181e106ae1990a0cc1c.tar.gz
Restoring authorship annotation for Arslan Urtashev <urtashev@gmail.com>. Commit 1 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 d845cc1c74..88f52f8490 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);