jsonize library

Jsonize package.

Classes

Clonable<T>
The Clonable class used to clone and serialize objects.
ClonableAsync<T>
The ClonableAsync class used to clone and serialize future objects and using an optional external parameter.
ClonableAsyncInterface<T>
The ClonableAsyncInterface definition
ClonableBaseInterface<T>
The ClonableBaseInterface definition
ClonableEx<T>
The ClonableEx class used to clone and serialize future objects and using an optional external parameter.
ClonableExInterface<T>
The ClonableExInterface definition
ClonableInterface<T>
The ClonableInterface definition
CloneField<T>
The CloneField class implementation
CloneFields<T extends CloneField>
The CloneField collection
Jsonizable<T>
The interface to create a Jsonizable class you can register via an object instance using Jsonize.registerClass.
JsonizableEnum
EnumJson allows extending your enums and provide an unmutable value for each of your enum items. This allows you to altering your enumeration by changing names or adding new values but keeping your jsonized values safe.
Jsonize
The Jsonize class used to transform to and from json string

Enums

DateTimeFormat
The DateTime serialization format
DurationFormat
The Duration serialization format
EnumFormat
The Enum serialization format

Mixins

ClonableAsyncMixin<T>
ClonableBaseMixin<T>
The ClonableBaseMixin mixin class used to clone and serialize objects.
ClonableExMixin<T>
The ClonableExMixin class used to clone and serialize future objects and using an optional external parameter.
ClonableMixin<T>
The ClonableMixin mixin class used to clone and serialize objects.

Typedefs

CallbackFunction = dynamic Function(Type type, dynamic json, Jsonizable? obj)
The encode and decode callback function prototype
CloneGetterFunction = dynamic Function()
The CloneField getter callback function prototype
CloneSetterFunction = void Function(dynamic value)
The CloneField setter callback function prototype
ConvertFunction = dynamic Function(dynamic)
The encode and decode function prototype

Exceptions / Errors

JsonizeException