Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json
JsonSerializer Class
JsonSerializer Methods
CreateDefault Method
CreateDefault Method
CreateDefault Method (JsonSerializerSettings)
JsonSerializer
CreateDefault Method (JsonSerializerSettings)
Creates a new
JsonSerializer
instance using the specified
JsonSerializerSettings
. The
JsonSerializer
will use default settings from
DefaultSettings
as well as the specified
JsonSerializerSettings
.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
JsonSerializer
CreateDefault
(
JsonSerializerSettings
settings
)
Parameters
settings
Type:
Newtonsoft.Json
JsonSerializerSettings
The settings to be applied to the
JsonSerializer
.
Return Value
Type:
JsonSerializer
A new
JsonSerializer
instance using the specified
JsonSerializerSettings
. The
JsonSerializer
will use default settings from
DefaultSettings
as well as the specified
JsonSerializerSettings
.
See Also
Reference
JsonSerializer Class
CreateDefault Overload
Newtonsoft.Json Namespace
Json.NET Home