Json.NET - Quick Starts & API Documentation
WriteTo Method (writer, converters)
Namespaces ► Newtonsoft.Json.Linq ► JToken ► WriteTo(JsonWriter, array<JsonConverter>[]()[][])
Writes this token to a JsonWriter.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract void WriteTo( JsonWriter writer, params JsonConverter[] converters )
Public MustOverride Sub WriteTo ( _ writer As JsonWriter, _ ParamArray converters As JsonConverter() _ )
public: virtual void WriteTo( JsonWriter^ writer, ... array<JsonConverter^>^ converters ) abstract
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.