Writes the JSON representation of the object.
Namespace: Newtonsoft.JsonAssembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)
Syntax
| C# |
|---|
public abstract void WriteJson( JsonWriter writer, Object value, JsonSerializer serializer ) |
| Visual Basic |
|---|
Public MustOverride Sub WriteJson ( _ writer As JsonWriter, _ value As Object, _ serializer As JsonSerializer _ ) |
| Visual C++ |
|---|
public: virtual void WriteJson( JsonWriter^ writer, Object^ value, JsonSerializer^ serializer ) abstract |
Parameters
- writer
- Type: Newtonsoft.Json..::..JsonWriter
The JsonWriter to write to.
- value
- Type: System..::..Object
The value.
- serializer
- Type: Newtonsoft.Json..::..JsonSerializer
The calling serializer.