|
JubeatPlus 3.9.11
|
One-call JSON deserialisation vending a Foundation object. More...
#include <NSDictionary+JSONExtensions.h>
Class Methods | |
| (nullable id) | + dictionaryWithJSONData:error: |
Deserialises JSON data via a fresh CJSONDeserializer. | |
| (nullable id) | + dictionaryWithJSONString:error: |
Deserialises a JSON string by encoding it as UTF-8 and deferring to dictionaryWithJSONData:error:. | |
One-call JSON deserialisation vending a Foundation object.
| + (nullable id) dictionaryWithJSONData: | (nullable NSData *) | data | |
| error: | (NSError **) | error |
Deserialises JSON data via a fresh CJSONDeserializer.
| data | The JSON text. |
| error | Out-parameter for a parse failure; may be NULL. |
nil on failure. | + (nullable id) dictionaryWithJSONString: | (nullable NSString *) | string | |
| error: | (NSError **) | error |
Deserialises a JSON string by encoding it as UTF-8 and deferring to dictionaryWithJSONData:error:.
| string | The JSON text. |
| error | Out-parameter for a parse failure; may be NULL. |
nil on failure.