Click or drag to resize
Json.NET

JsonConvertPopulateObject 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#
public static void PopulateObject(
	string value,
	Object target,
	JsonSerializerSettings settings
)

Parameters

value
Type: SystemString
The JSON to populate values from.
target
Type: SystemObject
The target object to populate values onto.
settings
Type: Newtonsoft.JsonJsonSerializerSettings
The JsonSerializerSettings used to deserialize the object. If this is null, default serialization settings will be used.
See Also