https://kotlinlang.org logo
#serialization
Title
# serialization
a

Antanas A.

04/22/2020, 11:36 AM
Hello, is it possible to parse JSON to data class not directly from string, but from JsonObject/JsonElement without converting it back to String and then do "parse"?
found
Copy code
public fun <T> fromJson(deserializer: DeserializationStrategy<T>, json: JsonElement): T {
👌 1
5 Views