Content


NTL
Core
json::Decoder

json::Decoder


Static class provides methods for decoding JSON string into Variable and Variant objects.

Use Variable target method whenever possible.

class Decoder final
{
public:
    static bool Decode(const String &source, Variable &target, IErrorListener *error_listener = nullptr, IProgressListener *progress_listener = nullptr);
    static bool Decode(const String &source, Variant &target, IErrorListener *error_listener = nullptr, IProgressListener *progress_listener = nullptr);
};
Namespace: nitisa::script::json
Include: Nitisa/Modules/Script/Json/Decoder.h