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
- Host: GitHub
- URL: https://github.com/kgn/kgjson
- Owner: kgn
- Created: 2012-10-16T07:41:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-10-15T00:49:18.000Z (almost 13 years ago)
- Last Synced: 2025-03-26T13:21:24.658Z (over 1 year ago)
- Language: Objective-C
- Size: 117 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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
```