Show / Hide Table of Contents

    Enum WriteState

    Specifies the state of the JsonWriter.

    Namespace: Bayat.Json
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public enum WriteState

    Fields

    Name Description
    Array

    A array is being written.

    Closed

    The Close() method has been called.

    Constructor

    A constructor is being written.

    Error

    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 System.InvalidOperationException being thrown.

    Object

    An object is being written.

    Property

    A property is being written.

    Start

    A write method has not been called.

    Extension Methods

    StringExtensions.ToBinaryString()
    • Improve this Doc
    • View Source
    • 0 Comments