Compartilhar via


SafeJsonConvert.SerializeObject Método

Definição

Sobrecargas

SerializeObject(Object, JsonConverter[])
SerializeObject(Object, JsonSerializerSettings)

SerializeObject(Object, JsonConverter[])

public static string SerializeObject (object obj, params Newtonsoft.Json.JsonConverter[] converters);
static member SerializeObject : obj * Newtonsoft.Json.JsonConverter[] -> string
Public Shared Function SerializeObject (obj As Object, ParamArray converters As JsonConverter()) As String

Parâmetros

obj
Object
converters
Newtonsoft.Json.JsonConverter[]

Retornos

Aplica-se a

SerializeObject(Object, JsonSerializerSettings)

public static string SerializeObject (object obj, Newtonsoft.Json.JsonSerializerSettings settings);
static member SerializeObject : obj * Newtonsoft.Json.JsonSerializerSettings -> string
Public Shared Function SerializeObject (obj As Object, settings As JsonSerializerSettings) As String

Parâmetros

obj
Object
settings
Newtonsoft.Json.JsonSerializerSettings

Retornos

Aplica-se a