A simple category around NSJSONSerialization for common JSON string operations
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.

readme.md

@interface NSString(KGJSON)

- (id)JSONObject;
+ (NSString *)JSONString:(id)object;
+ (NSString *)prettyJSONString:(id)object;

@end

@interface NSDictionary(KGJSON)

- (NSString *)JSONString;
- (NSString *)prettyJSONString;

@end

@interface NSArray(KGJSON)

- (NSString *)JSONString;
- (NSString *)prettyJSONString;

@end