Json.NET - Quick Starts & API Documentation
Populate Method (reader, target)
Namespaces ► Newtonsoft.Json ► JsonSerializer ► Populate(JsonReader, Object)
Populates the JSON values onto the target object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Populate( JsonReader reader, Object target )
Public Sub Populate ( _ reader As JsonReader, _ target As Object _ )
public: void Populate( JsonReader^ reader, Object^ target )
Parameters
- reader (JsonReader)
- The JsonReader that contains the JSON structure to reader values from.
- target (Object)
- The target object to populate values onto.