fromJson

open fun fromJson(@NonNull json: String): Expected<String, Value>

Converts JSON string to a value.

Return

expected The value or string describing an error.

Parameters

json

The string to be converted.