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