ValueConverter

class ValueConverter

Functions

fromJson
Link copied to clipboard
open fun fromJson(@NonNull json: String): Expected<String, Value>
Converts JSON string to a value.
toJson
Link copied to clipboard
open fun toJson(@NonNull value: Value): String
Converts value to a JSON string.
open fun toJson(@NonNull value: Value, indent: Int): String
Converts value to a `human-readable` JSON string.