aaverin
09/10/2018, 9:22 AMjonnyzzz
09/10/2018, 9:24 AMactual
API for all functions you need around JSON and than use different expected
parts for each platform - e.g. Jackson on JVM and some another library from Swift on the iOS sideelizarov
09/10/2018, 9:26 AMaaverin
09/10/2018, 9:26 AMelizarov
09/10/2018, 9:26 AMaaverin
09/10/2018, 9:26 AMelizarov
09/10/2018, 9:27 AMkotlinx.serlization
does for you. You don’t need to write any of the code. Just annotate your data classes as @Serializable
aaverin
09/10/2018, 9:27 AMaaverin
09/10/2018, 9:28 AMelizarov
09/10/2018, 9:29 AM@SerialName
, @Transient
and @Optional
. If you need something else, file a request to https://github.com/kotlin/kotlinx.serialization/issues with your use-casesaaverin
09/10/2018, 9:29 AMthevery
09/10/2018, 10:08 AMchristophsturm
09/10/2018, 10:31 AMelizarov
09/10/2018, 11:04 AMthevery
09/10/2018, 7:33 PMelizarov
09/10/2018, 7:38 PMsandwwraith
09/11/2018, 2:06 PM