編輯

共用方式為


NSJsonSerialization.Deserialize Method

Definition

Overloads

Deserialize(NSData, NSJsonReadingOptions, NSError)
Deserialize(NSInputStream, NSJsonReadingOptions, NSError)

Deserialize(NSData, NSJsonReadingOptions, NSError)

[Foundation.Export("JSONObjectWithData:options:error:")]
public static Foundation.NSObject Deserialize (Foundation.NSData data, Foundation.NSJsonReadingOptions opt, out Foundation.NSError error);
static member Deserialize : Foundation.NSData * Foundation.NSJsonReadingOptions *  -> Foundation.NSObject

Parameters

data
NSData
error
NSError

Returns

Attributes

Applies to

Deserialize(NSInputStream, NSJsonReadingOptions, NSError)

[Foundation.Export("JSONObjectWithStream:options:error:")]
public static Foundation.NSObject Deserialize (Foundation.NSInputStream stream, Foundation.NSJsonReadingOptions opt, out Foundation.NSError error);
static member Deserialize : Foundation.NSInputStream * Foundation.NSJsonReadingOptions *  -> Foundation.NSObject

Parameters

stream
NSInputStream
error
NSError

Returns

Attributes

Applies to