Compartilhar via


JsonWriteState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.json.JsonWriteState

public enum JsonWriteState
extends Enum<JsonWriteState>

Writing context of the JSON stream.

Used by JsonWriter to maintain state and determine validity of a write operation.

Fields

ARRAY

In a JSON array.

COMPLETED

JSON stream has completed.

FIELD

In a JSON field.

OBJECT

In a JSON object.

ROOT

Root of the JSON stream.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static JsonWriteState valueOf(String name)

Parameters

name
String

Returns

values()

public static JsonWriteState[] values()

Returns

Applies to