SPTJSONObject Protocol Reference
Conforms to | NSObject |
Declared in | SPTJSONDecoding.h |
Instance Methods
initWithDecodedJSONObject:error:
Initialise the object with the given decoded JSON response from the web API
(typically an NSDictionary
, but not always).
- (id)initWithDecodedJSONObject:(id)decodedObject error:(NSError **)error
Parameters
- decodedObject
The decoded representation of the object.
- error
An error pointer that will contain an error if a problem occurred.
Return Value
Returns the initalised object, or nil
if a problem occurred.
Declared In
SPTJSONDecoding.h