I am using both Serialize and Deserialize.
Serialize looks correct with error passed as reference.
NSError error = null;
NSData jsonData = NSJsonSerialization.Serialize (data, 0, out error);
Deserialize looks incorrect and in fact, for it to work, I have to pass in an error! That certainly doesn't seem right to me unless I am missing something.
NSError error = new NSError();
NSDictionary jsonDict = (NSDictionary)NSJsonSerialization.Deserialize (jsonData, 0, error);
Ted