2.0.0-alpha.3
This is the final alpha release for 2.0.0. I don't have any specific beta plans, so if you want to get your feedback incorporated, now's the time!
This release features the return of arbitrary object deserialization, now with support for records and recursive generics. This functionality can be accessed from new static helper methods on the Jankson
class, or through ObjectWriter
to pour an arbitrary StructuredData stream into a java class.
Two new StructuredDataReaders are offered, introducing multi-format support! TomlReader
and IniReader
consume very similar data but handle that data very differently. Writers for these formats, as well as additional format support, will be available in the future. Note that TOML files are not a pre-order traversal of their data, requiring TomlReader to examine the entire file contents before it can produce a well-ordered StructuredData stream. In the future an interface may expose the buffered data for non-streaming readers so the stream can be skipped.