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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET