NSJSONSerialization

suggest change

Syntax

+ (id)JSONObjectWithData:(NSData *)data
                  options:(NSJSONReadingOptions)opt
                    error:(NSError * _Nullable *)error;

Parameters

Parameter Description
data A data object containing JSON.
opt Options for reading the JSON and creating Foundation objects.
error On failure, points to an NSError that describes the problem.

Remarks

NSJSONSerialization is available in iOS 5.0 and later. An object that may be converted to JSON must have the following properties:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents