readOnlySerializer
inline fun <T> readOnlySerializer(crossinline reader: (Json, JsonValue, Class<*>?) -> T): Json.Serializer<T>
Factory function to create a ReadOnlyJsonSerializer from lambda.
Factory function to create a simplified ReadOnlyJsonSerializer, which accepts only JsonValue.