By tigerbears, LLC
Open the Mac App Store to buy and download apps.
Objectify is a Mac® application for Objective-C developers that creates Cocoa class implementations from JSON. Whether you're working with web services or building everyday classes, Objectify's here to save you time.
JSON is rapidly becoming the de facto standard data serialization format for web APIs, used in thousands of applications. Creating model classes based on this content has been a tedious chore that invites bugs and heartache.
Objectify saves you time and effort by spinning through any JSON content you give it, building customizable models that can be exported as Objective-C header and implementation files.
Though Objectify is a complete standalone app, if you're a user of the mighty Accessorizer, Objectify can use it for code generation so all your code style preferences are already taken care of!
Clever developers have noticed that this also makes Objectify a great prototyping and scaffolding tool. It only takes a few seconds to go from an idea for a class to having working code based on your favorite templates.
* ARC- and LLVM 4-ready!
Tired of ivars in headers, autorelease and @synthesize? Objectify can now generate ARC-compliant code. You can also take advantage of some of LLVM 4's features to reduce code.
* Model Merge
Objectify has always been able to merge members of an array into one simple "super" model. Now you can merge any models in your schema you'd like to combine!
* Instant Instances
Class implementations can be generated with methods that will create a new instance of that class populated with data from an NSDictionary. Or go the other way by creating an NSDictionary representation of that instance.
* Your Code, Your Style
Objectify can apply prefixes to class names, prefixes and suffixes to ivars, or add NSCoding compliance. If you have Accessorizer 2.9.3 or later, Objectify can "hand off" code generation to it so your code stays consistent.
* Our Templates or Yours?
While Objectify has its own simple templates for header and implementation files, it can also use your favorite Xcode®-compatible file templates — whether stock or with your own secret sauce.
* Plays Well With Others
Objectify is Services-aware. You can use a context menu or key combo to easily send JSON text or URLs to it from any application. Try dragging your classes directly to Xcode!
* Flexible Input
There are plenty of ways to get your JSON into Objectify. It can fetch content from URLs, other applications, local .json files, or you can type your content in manually.
* Fits in Your Workflow
Accessorizer is a key part of many top developers' workflows. Objectify was designed from day one to optionally send class ivar declarations to it, so you don't have to change your workflow if you don't want to.
* Plays Well With Others
Objectify is Services-aware. You can use a context menu or key combo to easily send JSON text or URLs to it from any application. Try dragging your classes directly to your favorite text editor!
* Save Your Work
If you need step away while customizing your new models, or want to commit a snapshot to your SCM of choice, you can save your work into an .objson file to pick up where you left off later.
What's New in Version 1.2.4
* Support for the new MacBook Pro with Retina Display!
* Added a new, one-time "Getting Started" screen to set some important new preferences.
* Compatibility improvements with future software releases.
* Bug fixes.
Great Tool but it has limitation
Great Tool but it has a major limitation. if your model has array of other objects, getting objective C from JSON works like a charm, but trying to get dictionary from object will not work and will not get the correct JSON of the array of custom objects.
The fix is easy and you can change the class manually to fix this, I contacted the author 7 months ago and proposed couple of soulution that will work but so far no update..
Don't attempt JSON without it
I thought handling JSON couldn't get any simpler, until I downloaded this app on a whim. It quickly made its way into my "Must have apps" list, and is an amazing timesaver for any developers who finds themselves working with JSON in any situation.
Crash on cyclical structure?
App beach balled and then crashed when I tried to merge a cyclical data structure. When I reopened the app my work was lost.
When json is invalid, the messages to identify the error are only somewhat helpful. Highlighting the position and character where the error occurred occurs sporadically, but when it does it works well.