Json.NET - Quick Starts & API Documentation
Serialize Method (jsonWriter, value)
Namespaces ► Newtonsoft.Json ► JsonSerializer ► Serialize(JsonWriter, Object)
Serializes the specified Object and writes the Json structure
to a Stream using the specified JsonWriter.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Serialize( JsonWriter jsonWriter, Object value )
Public Sub Serialize ( _ jsonWriter As JsonWriter, _ value As Object _ )
public: void Serialize( JsonWriter^ jsonWriter, Object^ value )
Parameters
- jsonWriter (JsonWriter)
- The JsonWriter used to write the Json structure.