EnumConverter.WriteJson(JsonWriter, Object, JsonSerializer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the object into a JSON string.
public override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer);
override this.WriteJson : Newtonsoft.Json.JsonWriter * obj * Newtonsoft.Json.JsonSerializer -> unit
Public Overrides Sub WriteJson (writer As JsonWriter, value As Object, serializer As JsonSerializer)
Parameters
- writer
- Newtonsoft.Json.JsonWriter
The Newtonsoft.Json.JsonWriter to write with.
- value
- Object
The object to write.
- serializer
- Newtonsoft.Json.JsonSerializer
The Newtonsoft.Json.JsonSerializer for serialization.