@Method(selector = "dataWithJSONObject:options:error:") private static native NSData createJSONData(NSObject obj, NSJSONWritingOptions opt, NSError.NSErrorPtr error); public static NSObject createJSONObject(NSData data, NSJSONReadingOptions opt) throws NSErrorException {
@Method(selector = "JSONObjectWithData:options:error:") private static native NSObject createJSONObject(NSData data, NSJSONReadingOptions opt, NSError.NSErrorPtr error); public static @MachineSizedSInt long writeJSONObject(NSObject obj, NSOutputStream stream, NSJSONWritingOptions opt) throws NSErrorException {
@Method(selector = "JSONObjectWithStream:options:error:") private static native NSObject readJSONObject(NSInputStream stream, NSJSONReadingOptions opt, NSError.NSErrorPtr error); /*</methods>*/
@Method(selector = "writeJSONObject:toStream:options:error:") private static native @MachineSizedSInt long writeJSONObject(NSObject obj, NSOutputStream stream, NSJSONWritingOptions opt, NSError.NSErrorPtr error); public static NSObject readJSONObject(NSInputStream stream, NSJSONReadingOptions opt) throws NSErrorException {
@Method(selector = "writeJSONObject:toStream:options:error:") private static native @MachineSizedSInt long writeJSONObject(NSObject obj, NSOutputStream stream, NSJSONWritingOptions opt, NSError.NSErrorPtr error); public static NSObject readJSONObject(NSInputStream stream, NSJSONReadingOptions opt) throws NSErrorException {
@Method(selector = "JSONObjectWithData:options:error:") private static native NSObject createJSONObject(NSData data, NSJSONReadingOptions opt, NSError.NSErrorPtr error); public static @MachineSizedSInt long writeJSONObject(NSObject obj, NSOutputStream stream, NSJSONWritingOptions opt) throws NSErrorException {
@Method(selector = "dataWithJSONObject:options:error:") private static native NSData createJSONData(NSObject obj, NSJSONWritingOptions opt, NSError.NSErrorPtr error); public static NSObject createJSONObject(NSData data, NSJSONReadingOptions opt) throws NSErrorException {
@Method(selector = "JSONObjectWithStream:options:error:") private static native NSObject readJSONObject(NSInputStream stream, NSJSONReadingOptions opt, NSError.NSErrorPtr error); /*</methods>*/