TweetSharp by Daniel Crenna and Jason Diller

<PackageReference Include="TweetSharp" Version="2.3.0-preview2" />

 WriteState

public enum WriteState
Specifies the state of the JsonWriter.
Array = 3

A array is being written.

Closed = 1

The Close method has been called.

A constructor is being written.

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 results in an InvalidOperationException being thrown.

Object = 2

An object is being written.

A property is being written.

Start = 6

A write method has not been called.