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
Add a comment
|
1 Answer
try JSON4SWIFT.
I feel,thats the equivalent for jsonschema2pojo in java
Updated :
Try QuickType,It even has a plugin for Xcode