Re: [swift-corelibs-dev] Implementing JSONSerialization.jsonObject(with stream)

2016-07-15 Thread Philippe Hausler via swift-corelibs-dev
We had changed the return type of JSONSerialization to be Any such that it avoided the caller needing to bridge types (which works poorly on linux). Even though this is an API change technically, just change the return type to match the other JSONSerialization methods. > On Jul 15, 2016, at 12:

[swift-corelibs-dev] Implementing JSONSerialization.jsonObject(with stream)

2016-07-15 Thread Mamatha Busi via swift-corelibs-dev
Hi   Trying to implement the JSONSerialization unimplemented method jsonObject(withStream).     JSONSerialization.jsonObject(with stream: InputStream, options opt: ReadingOptions = []) throws -> AnyObject   The comments in the source code mentions that apart from stream configuration all other beha