#pragma once #include #include #include namespace NScUtils { void CopyField(const NSc::TValue& from, NSc::TValue& to); template void CopyField(const NSc::TValue& from, NSc::TValue& to, TStringBuf path, Args... args) { CopyField(from[path], to[path], args...); } } // namespace NScUtils template<> struct TSerializer { static void Save(IOutputStream* out, const NSc::TValue& v); static void Load(IInputStream* in, NSc::TValue& v); };