From dfe8393a73e72a0e123100eada9481728721041d Mon Sep 17 00:00:00 2001 From: robot-piglet Date: Wed, 22 Mar 2023 18:13:25 +0300 Subject: Intermediate changes --- library/cpp/json/converter/converter.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'library/cpp/json') diff --git a/library/cpp/json/converter/converter.h b/library/cpp/json/converter/converter.h index 04f26b69465..4e92b2e0cf0 100644 --- a/library/cpp/json/converter/converter.h +++ b/library/cpp/json/converter/converter.h @@ -79,6 +79,17 @@ namespace NJson { }; } + template<> + struct TConverter { + static TJsonValue Encode(const TJsonValue& value) { + return value; + } + + static TJsonValue Decode(const TJsonValue& value) { + return value; + } + }; + template<> struct TConverter: public TDefaultEncoder { static inline bool Decode(const TJsonValue& value) { -- cgit v1.3