Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json
JsonConvert Class
JsonConvert Methods
PopulateObject Method
PopulateObject Method (String, Object)
PopulateObject Method (String, Object, JsonSerializerSettings)
JsonConvert
PopulateObject Method (String, Object, JsonSerializerSettings)
Populates the object with values from the JSON string using
JsonSerializerSettings
.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
void
PopulateObject
(
string
value
,
Object
target
,
JsonSerializerSettings
settings
)
Parameters
value
Type:
System
String
The JSON to populate values from.
target
Type:
System
Object
The target object to populate values onto.
settings
Type:
Newtonsoft.Json
JsonSerializerSettings
The
JsonSerializerSettings
used to deserialize the object. If this is
null
, default serialization settings will be used.
See Also
Reference
JsonConvert Class
PopulateObject Overload
Newtonsoft.Json Namespace
Json.NET Home