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:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:34 +0300
commit464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/json/writer/json_value.h
parentcba5d9a444e2cfe105f55ccda66cd21d50440017 (diff)
downloadydb-464ba3814a83db4f2d5327393b0b6eaf0c86bfd7.tar.gz
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 2 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 b41712c5d6..3f0f50bc4c 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);
}