SafeJsonConvert.SerializeObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- obj
- Object
- converters
- Newtonsoft.Json.JsonConverter[]
Returns
Applies to
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
Parameters
- obj
- Object
- settings
- Newtonsoft.Json.JsonSerializerSettings
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET