Latest | 0.1.6 |
---|---|
Homepage | https://github.com/greedlab/GreedJSON |
License | MIT |
Platforms | ios 6.0, requires ARC |
Frameworks | Foundation |
Authors |
GreedJSON 
parse and format JSON for ios, based on NSJSONSerialization and run time
Installation
pod ‘GreedJSON’
Usage
#import "GreedJSON.h"
NSArray+GreedJSON
// NSArray to NSString
- (NSString*)gr_JSONString;
// NSArray to NSData
- (NSData*)gr_JSONData;
NSData+GreedJSON
// NSData to NSDictionary or NSArray
- (__kindof NSObject*)gr_object
NSDictionary+GreedJSON
// NSDictionary to NSString
- (NSString*)gr_JSONString;
// NSDictionary to NSData
- (NSData*)gr_JSONData;
NSString+GreedJSON
// NSString to NSDictionary or NSArray
- (__kindof NSObject*)gr_object
NSObject+GreedJSON
// model to NSDictionary
- (__kindof NSObject *)gr_dictionary;
// NSDictionary to model
+ (id)gr_objectFromDictionary:(NSDictionary*)dictionary
LICENSE
Latest podspec
{ "name": "GreedJSON", "version": "0.1.6", "summary": "parse and format JSON for ios", "description": "Format NSDictionary,NSArray and NSData to JSONString,or reverse", "homepage": "https://github.com/greedlab/GreedJSON", "license": "MIT", "authors": { "Bell": "[email protected]" }, "platforms": { "ios": "6.0" }, "source": { "git": "https://github.com/greedlab/GreedJSON.git", "tag": "0.1.6" }, "source_files": [ "GreedJSON", "GreedJSON/*.{h,m}" ], "frameworks": "Foundation", "requires_arc": true }
Thu, 14 Jul 2016 09:20:19 +0000