jsonize 1.2.0
jsonize: ^1.2.0 copied to clipboard
A json serialize class to convert 'to' and 'from' json format DateTime and any of your own classes.
1.2.0 #
- Added 'convertCallback' to the 'toJson' and 'fromJson' methods to enable custom transformation of the object json representation.
1.1.0 #
- Changed the 'indent' from positional to named parameter in the 'toJson' method (this breaks compatibility with previous version).
- Now you can set a custom 'jsonClassToken' when convert to and from json.
- Now you can set a custom 'dtClassToken' (i.e. DateTime object class token) when convert to and from json.
- Now you can set a custom 'dateTimeFormat' (i.e. DateTimeFormat enum) to serialize DateTime objects in different ways with different precisions.
- Added JsonizeException class. Each possible exception thrown by jsonize package is of that type.
1.0.1 #
- Added examples.
1.0.0 #
- Initial version.