| WriteState Enumeration |
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax Members
| Member name | Value | Description |
---|
| Error | 0 |
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.
|
| Closed | 1 |
The Close method has been called.
|
| Object | 2 |
An object is being written.
|
| Array | 3 |
An array is being written.
|
| Constructor | 4 |
A constructor is being written.
|
| Property | 5 |
A property is being written.
|
| Start | 6 |
A JsonWriter write method has not been called.
|
See Also