Json.NET - Quick Starts & API Documentation
WriteTo Method (writer, converters)
Namespaces ► Newtonsoft.Json.Linq ► JConstructor ► WriteTo(JsonWriter, array<JsonConverter>[]()[][])
Writes this token to a JsonWriter.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override void WriteTo( JsonWriter writer, params JsonConverter[] converters )
Public Overrides Sub WriteTo ( _ writer As JsonWriter, _ ParamArray converters As JsonConverter() _ )
public: virtual void WriteTo( JsonWriter^ writer, ... array<JsonConverter^>^ converters ) override
Parameters
- writer (JsonWriter)
- A JsonWriter into which this method will write.
- converters (array<JsonConverter>[]()[][])
- A collection of JsonConverter which will be used when writing the token.