I have generated Json(s) for each java class using Gson library. Some of them are in hierarchy nature while others are completely independent. I am looking for a way to convert these Json to plain object (getter and setter methods) in swift. Is there any way to do it? For Java we can convert them using JsonSchema2Pojo
try JSON4SWIFT.
I feel,thats the equivalent for jsonschema2pojo in java
Updated :
Try QuickType,It even has a plugin for Xcode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With