kotlinx.serialization v0.7.3-eap Release Notes

Release Date: 2018-09-18 // over 5 years ago
    • New enum serializing model
    • New context: SerialModules draft. Renaming and mutable/immutable hierarchy
    • Remove untyped encoding
    • Improve serializers resolving by adding primitive serializers. Also add some helper methods to JSON to serialize lists without pain
    • Fix protobuf by adapting MapLikeSerializer to HashSetSerializer(MapEntrySerializer). Elements' serializers in collection serializers are now accessible for such adaptions.
    • Prohibit NaN and infinite values in JSON strict mode
    • Cleanup JSON, reflect opt-in strict mode in naming
    • Get rid of StructureKind.SET and StructureKind.ENTRY
    • Remove SIZE_INDEX
    • Remove inheritance from Encoder and CompositeEncoder
    • Working over primitive kinds and enums
    • Reworked SerialDescriptor and kinds
    • Renaming of ElementValue* and Tagged*
    • Renaming: KOutput -> Encoder/CompositeEncoder KInput -> Decoder/CompositeDecoder
    • Renaming: KSerialClassDesc -> SerialDescriptor SerialSaver, SerialLoader -> *Strategy > Not working until plugin is updated:
    • Provide limited equals on collections' descriptors
    • Support for isElementOptional