val JsonElement.contentOrNull: String?
Convenience method, returns content of current element or null if element is JsonNull
null
JsonException - if current element is not a JsonPrimitive
JsonException