Latest 0.0.2
Homepage https://github.com/Davarg/AMSimpleJSONParser
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Installation

AMSimpleJSONParser is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "AMSimpleJSONParser"

or

You can always clone repository and just add files to your project

git clone https://github.com/Davarg/AMSimpleJSONParser.git

Description

If you are looking for simple and lightweight approach for parsing JSON data – you found it. All you need to know class of model and JSON data.

Example

@interface NestingLevelFour : NSObject
    @property (strong) NSString* lastProperty;
@end

@interface NestingLevelThree : NSObject
    @property (strong) NestingLevelFour* nestingLevelFour;
@end

@interface NestingLevelTwo : NSObject
    @property (strong) NestingLevelThree* nestingLevelThree;
@end

@interface NestingLevelOne : NSObject
    @property (strong) NestingLevelTwo* nestingLevelTwo;
@end

@interface AMTestModel : NSObject
    @property (strong, setter=customSetterGreeting:) NSDictionary* greeting;
    @property (strong) NestingLevelOne* nestingLevelOne;
    @property (strong) NSArray* friends;
    @property (strong) NSString* uniqId;
@end
..........................................................................
AMTestModel *testModel = [AMSimpleJsonParser parseJsonWithData:[testString dataUsingEncoding:NSUTF8StringEncoding] andWithModelClass:[AMTestModel class] andWithErrorObject:&error];
..........................................................................

Author

Alex Makushkin, [email protected]

License

AMSimpleJSONParser is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AMSimpleJSONParser",
    "version": "0.0.2",
    "summary": "Lightweight approach for parsing JSON",
    "description": "Parsing of JSON is never was so simple like now. All you need for successful parsing are class of model and JSON data. Thats all, no more mapping or subclassing.",
    "homepage": "https://github.com/Davarg/AMSimpleJSONParser",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Alex Makushkin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Davarg/AMSimpleJSONParser.git",
        "tag": "0.0.2"
    },
    "social_media_url": "https://twitter.com/Underbridgins",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AMSimpleJSONParser/Classes/**/*"
}

Pin It on Pinterest

Share This