- An array is being written.
- The Close method has been called.
- A constructor is being written.
- 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.
- An object is being written.
- A property is being written.
- A JsonWriter write method has not been called.