options:nsjsonreadingoptions error:&error];
Nsjsonreadingoptions has three enumeration values, meaning the following:
1.nsjsonreadingmutablecontainers:specifies that arrays and dictionaries is created as mutable objects.
Specifies that the method creates an array and that the dictionary is a mutable object. (meaning that the dictionary and array in the JSON object returned by the Jsonobjectwithdata method are mutable.) )
2.NSJSONReadingMutableLeaves:specifies that leaf strings in the JSON object graph is created as instances of Nsmutab Lestring.
Specifies that the string created by the method is a Mutable object. (In contrast to nsjsonreadingmutablecontainers, it means that the members of the array and the dictionary are mutable strings.) )
3.nsjsonreadingallowfragments:specifies that the parser should allow top-level objects that is not an instance of Nsarray or nsdictionary.
The pointing converter should allow the top-level object to be either an array or an instance of the dictionary.