This area of repository contains different libraries with various add-on formats which were not included in the core library.
For convenience, they have same groupId, versioning and release cycle as core library.
kotlinx-serialization-jsonkotlinx-serialization-hoconAllows deserialization of Config object from popular lightbend/config library into Kotlin objects. You can learn about “Human-Optimized Config Object Notation” or HOCON from library's readme.
kotlinx-serialization-protobufkotlinx-serialization-cborkotlinx-serialization-propertiesAllows converting arbitrary hierarchy of Kotlin classes to a flat key-value structure à la Java Properties.
com.sksamuel.avro4k:avro4kThis library allows serialization and deserialization of objects to and from Avro. It will read and write from Avro binary or json streams or generate Avro Generic Records directly. It will also generate Avro schemas from data classes. The library allows for easy extension and overrides for custom schema formats, compatiblity with schemas defined outside out of the JVM and for types not supported out of the box.
com.github.jershell:kbsonAllows serialization and deserialization of objects to and from BSON.
com.akuleshov7:ktoml-coreFully Native and Multiplatform Kotlin serialization library for serialization/deserialization of TOML format. This library contains no Java code and no Java dependencies and it implements multiplatform parser, decoder and encoder of TOML.
net.benwoodworth.knbt:knbtImplements the NBT format for kotlinx.serialization, and provides a type-safe DSL for constructing NBT tags.
com.ensarsarajcic.kotlinx:serialization-msgpackAllows serialization and deserialization of objects to and from MsgPack.
net.edwardday.serialization:kprefsThis library allows serialization and deserialization of objects into and from Android SharedPreferences.
io.github.pdvrieze.xmlutil:serializationThis library allows for reading and writing of XML documents with the serialization library. It is multiplatform, providing both a shared parser/writer for xml as well as platform-specific parsers where available. The library is designed to handle existing xml formats that use features that would not be available in other formats such as JSON.
com.charleskorn.kaml:kamlAllows serialization and deserialization of objects to and from YAML.
net.mamoe.yamlkt:yamlktAllows serialization and deserialization of objects to and from YAML. Basic serial operations have been implemented, but some features such as compound keys and polymorphism are still work in progress.
net.orandja.obor:oborAllow serialization and deserialization of objects to and from CBOR. This codec can be used to read and write from Java InputStream and OutputStream.
com.github.dimitark:kotlinx-serialization-ionAllow serialization and deserialization of objects to and from Amazon Ion. It stores the data in a flat binary format. Upon destialization, it retains the references between the objects.
dev.ahmedmourad.bundlizer:bundlizer-coreAllow serialization and deserialization of objects to and from android.os.Bundle.
app.softwork:kotlinx-serialization-csvAllows serialization and deserialization of CSV files. There are still some limitations (ordered properties).
app.softwork:kotlinx-serialization-flfAllows serialization and deserialization of Fixed Length Format files. Each property must be annotated with @FixedLength and there are still some limitations due to missing delimiters.