![]() Normally I would just use a library like Moshi or rialization and add the proper annotation to the class I want to serialize but, since this data classes are autogenerated, I can’t do that.īut Apollo Kotlin is already (de)serializing them so I was wondering if there is a way to use the internal serialization mechanism from Apollo Kotlin to (de)serialize these autogenerated data classes. I need to (de)serialize to and from JSON some of the data classes that are autogenerated by Apollo Kotlin.
0 Comments
Leave a Reply. |