Json.NET - Quick Starts & API Documentation
WriteJson Method (writer, value, serializer)
Namespaces ► Newtonsoft.Json.Converters ► XmlNodeConverter ► WriteJson(JsonWriter, Object, JsonSerializer)
Writes the JSON representation of the object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override void WriteJson( JsonWriter writer, Object value, JsonSerializer serializer )
Public Overrides Sub WriteJson ( _ writer As JsonWriter, _ value As Object, _ serializer As JsonSerializer _ )
public: virtual void WriteJson( JsonWriter^ writer, Object^ value, JsonSerializer^ serializer ) override
Parameters
- writer (JsonWriter)
- The JsonWriter to write to.
- value (Object)
- The value.
- serializer (JsonSerializer)
- The calling serializer.