diff options
author | ivanmorozov <ivanmorozov@yandex-team.ru> | 2022-02-10 16:47:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:33 +0300 |
commit | cba5d9a444e2cfe105f55ccda66cd21d50440017 (patch) | |
tree | 79983e83d1a91aebeb1999338090eec69e24cc33 /library/cpp/json/writer/json_value.h | |
parent | eb540cc7a103419462d0cc870ca403966e2194c6 (diff) | |
download | ydb-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.h | 10 |
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); } |