Re-written to be simplier, yet even more powerful!
- Bug: Could not convert Lists with
nullvalues - added workaround to the Nullable Generic Lists Fantom bug.
serializableModefor when you just want to pickle your objects - see this Fantom defect for details.
JsonConverterCtxis now passed to
JsonPropertyCacheto give more context to subclasses.
- Chg: Allow null
fantomTypein JsonConverter methods, for convenience.
- Bug: Maps and Lists could not be de-serialised into const fields (in non-const objects).
to/fromJson()methods would only convert Maps / JSON Objects.
- New: Bespoke converters for
DateTimewith customisable locale formatting.
- Chg: Made
- Chg: Optimised some conversion code.
- New: Re-written.
- New: Now a SkySpark extension.
- Chg: Simplified List / Map -> toFantom conversion.
- Chg: Converted lists and maps are always duplicated, even if they require no conversion
- Chg: Added
- New: Methods may also be annotated with
JsonWriternow pretty prints!
- Chg: Renamed everything! Well, pretty much all of the main methods. (Breaking change.)
- Chg: Added lots of hooks to
- Chg: Made more inspectors and converters public, but they're all
- Chg: Fields declared as
Objmay capture any obj.
- Bug: Numbers weren't converted to their correct sub-type.
- New: Initial release.