diff options
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/scheme/scheme.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/scheme/scheme.h b/library/cpp/scheme/scheme.h index 3d7c59f3c9..cc0699c67a 100644 --- a/library/cpp/scheme/scheme.h +++ b/library/cpp/scheme/scheme.h @@ -296,8 +296,8 @@ namespace NSc { static const EJsonOpts JO_PARSER_STRICT = TJsonOpts::JO_PARSER_STRICT; // strict json + strict utf8 + comments are disallowed static const EJsonOpts JO_PARSER_DISALLOW_DUPLICATE_KEYS = TJsonOpts::JO_PARSER_DISALLOW_DUPLICATE_KEYS; - static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts()); - static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts()); + [[nodiscard]] static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts()); + [[nodiscard]] static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts()); static bool FromJson(TValue&, TStringBuf, const TJsonOpts& = TJsonOpts()); // TODO: Переименовать ToJson в ToJsonUnsafe, а ToJsonSafe в ToJson |