public static enum CompiledJson.Format extends Enum<CompiledJson.Format>
| Enum Constant and Description |
|---|
ARRAY
Compact format without attribute names, eg: [123,"json"]
|
OBJECT
Standard format which includes both name and value, eg: {"number":123,"name":"json"}
|
| Modifier and Type | Method and Description |
|---|---|
static CompiledJson.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompiledJson.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompiledJson.Format OBJECT
public static final CompiledJson.Format ARRAY
public static CompiledJson.Format[] values()
for (CompiledJson.Format c : CompiledJson.Format.values()) System.out.println(c);
public static CompiledJson.Format valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.