Enum WriteState
- Namespace
- Newtonsoft.Json
- Assembly
- Newtonsoft.Json.dll
Specifies the state of the JsonWriter.
public enum WriteState
Fields
Array = 3A array is being written.
Closed = 1The Close() method has been called.
Constructor = 4A constructor is being written.
Error = 0An 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
Closedstate. Any other JsonWriter method calls results in an InvalidOperationException being thrown.Object = 2An object is being written.
Property = 5A property is being written.
Start = 6A write method has not been called.