aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/writer/json_value.h
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/writer/json_value.h
parenteb540cc7a103419462d0cc870ca403966e2194c6 (diff)
downloadydb-cba5d9a444e2cfe105f55ccda66cd21d50440017.tar.gz
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/writer/json_value.h')
-rw-r--r--library/cpp/json/writer/json_value.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/json/writer/json_value.h b/library/cpp/json/writer/json_value.h
index 3f0f50bc4c..b41712c5d6 100644
--- a/library/cpp/json/writer/json_value.h
+++ b/library/cpp/json/writer/json_value.h
@@ -27,13 +27,13 @@ namespace NJson {
class IScanCallback {
public:
virtual ~IScanCallback() = default;
-
+
virtual bool Do(const TString& path, TJsonValue* parent, TJsonValue& value) = 0;
};
-
+
class TJsonValue {
void Clear() noexcept;
-
+
public:
typedef THashMap<TString, TJsonValue> TMapType;
typedef TDeque<TJsonValue> TArray;
@@ -96,7 +96,7 @@ namespace NJson {
// returns NULL on failure
const TJsonValue* GetValueByPath(TStringBuf path, char delimiter = '.') const noexcept;
TJsonValue* GetValueByPath(TStringBuf path, char delimiter = '.') noexcept;
-
+
void EraseValue(TStringBuf key);
void EraseValue(size_t index);
@@ -178,7 +178,7 @@ namespace NJson {
/// Non-robust comparison.
bool operator==(const TJsonValue& rhs) const;
-
+
bool operator!=(const TJsonValue& rhs) const {
return !(*this == rhs);
}