Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum Newtonsoft.​Json.​WriteState

Assembly: Newtonsoft.Json

Specifies the state of the <see cref="T:Newtonsoft.Json.JsonWriter" /> .

Values

Error
An exception has been thrown, which has left the <see cref="T:Newtonsoft.Json.JsonWriter" /> in an invalid state. You may call the <see cref="M:Newtonsoft.Json.JsonWriter.Close" /> method to put the <see cref="T:Newtonsoft.Json.JsonWriter" /> in the <c>Closed</c> state. Any other <see cref="T:Newtonsoft.Json.JsonWriter" /> method calls result in an <see cref="T:System.InvalidOperationException" /> being thrown.
Closed
The <see cref="M:Newtonsoft.Json.JsonWriter.Close" /> method has been called.
Object
An object is being written.
Array
An array is being written.
Constructor
A constructor is being written.
Property
A property is being written.
Start
A <see cref="T:Newtonsoft.Json.JsonWriter" /> write method has not been called.