RoundtripJson

class RoundtripJson<T>(strategy: KSerializer<T>) : Roundtrip<T, String>

Roundtrips the given type into pretty-printed Json.

Constructors

Link copied to clipboard
constructor(strategy: KSerializer<T>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun parse(serialized: String): T
Link copied to clipboard
open override fun serialize(value: T): String