Enum Constant and Description |
---|
Array
Inside an array.
|
Object
Inside an object.
|
Modifier and Type | Field and Description |
---|---|
(package private) SimpleJsonWriter.State |
defaultState
Default state for this kind of environment.
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
close(SimpleJsonWriter writer)
Close this environment.
|
static Json.Env |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Json.Env[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Json.Env Object
public static final Json.Env Array
@NotNull final SimpleJsonWriter.State defaultState
public static Json.Env[] values()
for (Json.Env c : Json.Env.values()) System.out.println(c);
public static Json.Env valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract void close(@NotNull SimpleJsonWriter writer)
writer
- writer to write to