NSJsonSerialization.Serialize Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Serialize(NSObject, NSJsonWritingOptions, NSError) | |
Serialize(NSObject, NSOutputStream, NSJsonWritingOptions, NSError) |
Serialize(NSObject, NSJsonWritingOptions, NSError)
[Foundation.Export("dataWithJSONObject:options:error:")]
public static Foundation.NSData Serialize (Foundation.NSObject obj, Foundation.NSJsonWritingOptions opt, out Foundation.NSError error);
static member Serialize : Foundation.NSObject * Foundation.NSJsonWritingOptions * -> Foundation.NSData
Parâmetros
- obj
- NSObject
- error
- NSError
Retornos
- Atributos
Aplica-se a
Serialize(NSObject, NSOutputStream, NSJsonWritingOptions, NSError)
[Foundation.Export("writeJSONObject:toStream:options:error:")]
public static nint Serialize (Foundation.NSObject obj, Foundation.NSOutputStream stream, Foundation.NSJsonWritingOptions opt, out Foundation.NSError error);
static member Serialize : Foundation.NSObject * Foundation.NSOutputStream * Foundation.NSJsonWritingOptions * -> nint
Parâmetros
- obj
- NSObject
- stream
- NSOutputStream
- error
- NSError
Retornos
System.System.IntPtr
System.nativeint
- Atributos