Click or drag to resize
Json.NET

WriteState Enumeration

 
Specifies the state of the JsonWriter.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 11.0.1
Syntax
C#
public enum WriteState
Members
  Member nameValueDescription
Error0 An exception has been thrown, which has left the JsonWriter in an invalid state. You may call the Close method to put the JsonWriter in the Closed state. Any other JsonWriter method calls result in an InvalidOperationException being thrown.
Closed1 The Close method has been called.
Object2 An object is being written.
Array3 An array is being written.
Constructor4 A constructor is being written.
Property5 A property is being written.
Start6 A JsonWriter write method has not been called.
See Also