Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSONArray and JSONDictionary #2

Closed
bernikovich opened this issue Jan 6, 2017 · 1 comment
Closed

Add JSONArray and JSONDictionary #2

bernikovich opened this issue Jan 6, 2017 · 1 comment

Comments

@bernikovich
Copy link
Owner

It will be good to support such things:

NSDictionary *dictionary = @{@"array":@[@{@"key":@"value"}]};
NSTEasyJSON *JSON = [NSTEasyJSON withObject:someDictionary];
for (NSTEasyJSON *arrayItemJSON in JSON[@"array"].JSONArray) {
    NSString *value = arrayItemJSON[@"key"].string;
}
@bernikovich
Copy link
Owner Author

JSONArray is available since 1.0.5 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant