An open API service indexing awesome lists of open source software.

https://github.com/kgn/kgjson

A simple category around NSJSONSerialization for common JSON string operations
https://github.com/kgn/kgjson

Last synced: 9 months ago
JSON representation

A simple category around NSJSONSerialization for common JSON string operations

Awesome Lists containing this project

README

          

``` obj-c
@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
```