Closed mattbond closed 10 years ago
A NSJSONReadingOptions was being passed to NSJSONSerialization dataWithJSONObject instead of a NSJSONWritingOptions constant. The only NSJSONWritingOptions constant available is NSJSONWritingPrettyPrinted which does not make sense for productive code so I have passed zero. See: https://developer.apple.com/library/ios/DOCUMENTATION/Foundation/Reference/NSJSONSerialization_Class/index.html#//apple_ref/c/tdef/NSJSONWritingOptions
A NSJSONReadingOptions was being passed to NSJSONSerialization dataWithJSONObject instead of a NSJSONWritingOptions constant. The only NSJSONWritingOptions constant available is NSJSONWritingPrettyPrinted which does not make sense for productive code so I have passed zero. See: https://developer.apple.com/library/ios/DOCUMENTATION/Foundation/Reference/NSJSONSerialization_Class/index.html#//apple_ref/c/tdef/NSJSONWritingOptions