Json.NET - Quick Starts & API Documentation
PopulateObjectAsync Method (value, target, settings)
Namespaces ► Newtonsoft.Json ► JsonConvert ► PopulateObjectAsync(String, Object, JsonSerializerSettings)
Asynchronously populates the object with values from the JSON string.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Task PopulateObjectAsync( string value, Object target, JsonSerializerSettings settings )
Public Shared Function PopulateObjectAsync ( _ value As String, _ target As Object, _ settings As JsonSerializerSettings _ ) As Task
public: static Task^ PopulateObjectAsync( 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.
Return Value
A task that represents the asynchronous populate operation.