aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_writer.cpp
diff options
context:
space:
mode:
authorivanmorozov <ivanmorozov@yandex-team.ru>2022-02-10 16:47:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:33 +0300
commitcba5d9a444e2cfe105f55ccda66cd21d50440017 (patch)
tree79983e83d1a91aebeb1999338090eec69e24cc33 /library/cpp/json/json_writer.cpp
parenteb540cc7a103419462d0cc870ca403966e2194c6 (diff)
downloadydb-cba5d9a444e2cfe105f55ccda66cd21d50440017.tar.gz
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/json_writer.cpp')
-rw-r--r--library/cpp/json/json_writer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/json/json_writer.cpp b/library/cpp/json/json_writer.cpp
index 3d058bae36..a6345e0943 100644
--- a/library/cpp/json/json_writer.cpp
+++ b/library/cpp/json/json_writer.cpp
@@ -118,22 +118,22 @@ namespace NJson {
Buf.WriteJsonValue(v, SortKeys, FloatToStringMode, DoubleNDigits);
}
- void TJsonWriter::Write(const TJsonValue& v) {
- Buf.WriteJsonValue(&v, SortKeys, FloatToStringMode, DoubleNDigits);
- }
-
+ void TJsonWriter::Write(const TJsonValue& v) {
+ Buf.WriteJsonValue(&v, SortKeys, FloatToStringMode, DoubleNDigits);
+ }
+
TString WriteJson(const TJsonValue* value, bool formatOutput, bool sortkeys, bool validateUtf8) {
TStringStream ss;
WriteJson(&ss, value, formatOutput, sortkeys, validateUtf8);
return ss.Str();
}
-
+
TString WriteJson(const TJsonValue& value, bool formatOutput, bool sortkeys, bool validateUtf8) {
TStringStream ss;
WriteJson(&ss, &value, formatOutput, sortkeys, validateUtf8);
return ss.Str();
}
-
+
void WriteJson(IOutputStream* out, const TJsonValue* val, bool formatOutput, bool sortkeys, bool validateUtf8) {
TJsonWriter w(out, formatOutput, sortkeys, validateUtf8);
w.Write(val);