Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.365 kb
// JSON.h
// Frank
// Created by Pete Hodgson on 10/19/12.
#ifndef Frank_JSON_h
#define Frank_JSON_h
#import "AnyJSON.h"
#define TO_JSON(obj) ([[[NSString alloc] initWithData:AnyJSONEncode((obj), nil) encoding:NSUTF8StringEncoding] autorelease])
#define FROM_JSON(str) (AnyJSONDecode([(str) dataUsingEncoding:NSUTF8StringEncoding], nil))
Jump to Line
Something went wrong with that request. Please try again.