akuleshov7 / ktoml

Kotlin Multiplatform parser and compile-time serializer/deserializer for TOML format (Native, JS, JVM) based on KxS

Home Page:https://akuleshov7.github.io/ktoml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Readme: add info about serialization

akuleshov7 opened this issue · comments

We need to:

  • cover in readme missing serialization features
  • add examples of serialization (create two sections instead existing one: serialization and deserialization)

partially added in #157

I realized in the deserialization example the InlineTable class isn't defined:

@Serializable
data class Table2(
    val someNumber: Long,
    @SerialName("akuleshov7.com")
    val inlineTable: InlineTable,
    val otherNumber: Double
)