Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source JSON Based Data Model Framework


A couple of months ago I mentioned a very extensive Objective-C data model framework called Mantle that provides an interesting alternative to Core Data with a number of useful functions such as the capability of turning your objects into JSON dictionaries.

Today I came across a new project from Marin Todorov called JSONModel.  This framework was created to reduce the amount of issues when working with the many different iOS libraries that  use  JSON data such as AFNetworking.

Here’s a list of some of the interesting features:

  1. Rapidly write model code
  2. Validation of the model’s input
  3. Atomic data
  4. Type casting between JSON and Obj-C
  5. Built-in data transformers
  6. Custom data transformers
  7. Model cascading
  8. Convert back & forth from/to JSON
  9. Persist model state in memory or file

You can see in detail the syntax used for each of these features on a Touch Code Magazine post here.

You can download the current versions from the homepage here.

You can also find a video demonstrating how to gather data from Twitter and place within a JSONModel object, and display that information on the screen on Vimeo here.

The framework is still in beta (use at your own risk) but it looks like it’s off to a great start.


Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.