NSArray(JSON) Class Reference

Category to easily convert an NSArray of JSON objects to an NSArray of objects of a given class. More...

#import <JSONRPC_Extensions.h>

List of all members.

Public Member Functions

(id) - initWithJson:itemsClass:
 Designed initializer to create an NSArray of itemsClass objects from an NSArray of JSON (typically NSDictionary) objects.

Static Public Member Functions

(id) + arrayWithJson:itemsClass:
 Commodity constructor to create an NSArray of itemsClass objects from an NSArray of JSON (typically NSDictionary) objects.

Detailed Description

Category to easily convert an NSArray of JSON objects to an NSArray of objects of a given class.

For each object in the passed NSArray, the class "itemsClass" will be instanciated with the "initWithJson:" method to create a new object corresponding to the JSON object. So this will finally initialize the NSArray with an array of "itemsClass" objects.

Generated on Tue Mar 22 22:27:19 2011 for JSONRPC Framework by  doxygen 1.6.3