toJsonElement
Converts this value to a JsonElement tree using kotlinx.serialization.
Return
the JsonElement representation
Type Parameters
T
the type to serialize (must be @Serializable)
Parses this String into a JsonElement.
Extension function on String.
Return
the parsed JsonElement
Parameters
verbose
if true, logs a warning with the raw input on parse failure
Throws
kotlinx.serialization.SerializationException
if parsing fails