Json.NET - Quick Starts & API Documentation
PopulateObject Method (value, target, settings)
Namespaces ► Newtonsoft.Json ► JsonConvert ► PopulateObject(String, Object, JsonSerializerSettings)
Populates the object with values from the JSON string.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static void PopulateObject( string value, Object target, JsonSerializerSettings settings )
Public Shared Sub PopulateObject ( _ value As String, _ target As Object, _ settings As JsonSerializerSettings _ )
public: static void PopulateObject( String^ value, Object^ target, JsonSerializerSettings^ settings )
Parameters
- value (String)
- The JSON to populate values from.
- target (Object)
- The target object to populate values onto.
- settings (JsonSerializerSettings)
- The JsonSerializerSettings used to deserialize the object. If this is null, default serialization settings will be is used.