Late last year I mentioned the ObjectMapper library for easily mapping JSON Data to/from Swift objects.
Here’s an open source Swift based framework allowing you to serialize/deserialize objects from a JSON format called ModelRocket from Oven Bits.
OvenBits supports several basic types including String, Bool, Int, UINet, Double and Float, but also more advanced types including NSDate, UIColor, NSURL, amd NSNumber. You can define the objects in JSON or within a typed array and custom objects created with ModelRocket can be used within other objects.
You can find MOdelRocket on Github here.
A nice JSON< ->Swift Object library.
Original article: Open Source Library Allowing You To Create/Export Swift Objects To A JSON Based Format
©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.