Ahmed-Ali / JSONExport

JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.
Other
4.8k stars 794 forks source link

Changes in Swift-Codable.json for nil/not found key-value pairs. #140

Open pawan-joshi opened 4 years ago

pawan-joshi commented 4 years ago

Changed code in swift codable so that if any key value pair is not found / has different type, in json, it will make the property nil. instead of failing to create an object. also. its will print which object has not been found in json object, on console.