NSJSONSerialization.writeJSONObject(:toStream:options:error) doesn't throw

Originator:thedov
Number:rdar://23488844 Date Originated:10-Nov-2015 05:37 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.1 (7B91b)
Classification:UI/Usability Reproducible:Always
 
Summary:
The method NSJSONSerialization.writeJSONObject(:toStream:options:error), unlike its sibling class functions, returns an NSErrorPointer instead of being marked as “throws”.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!