Static class provides methods for encoding Variable and Variant objects into JSON string.
Use Variable target method whenever possible.
class Encoder final
{
public:
static String Encode(const Variable &source, const bool compact = true, IProgressListener *progress_listener = nullptr);
static String Encode(const Variant &source, const bool compact = true, IProgressListener *progress_listener = nullptr);
};
Namespace: | nitisa::script::json |
Include: | Nitisa/Modules/Script/Json/Encoder.h |