NSJsonSerialization.Serialize Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
Devoluciones
- Atributos
Se aplica 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
Devoluciones
System.System.IntPtr
System.nativeint
- Atributos