|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JsonWriter.OutputType>
com.badlogic.gdx.utils.JsonWriter.OutputType
public static enum JsonWriter.OutputType
Enum Constant Summary | |
---|---|
javascript
Like JSON, but names are only quoted if necessary. |
|
json
Normal JSON, with all its quotes. |
|
minimal
Like JSON, but names and values are only quoted if necessary. |
Method Summary | |
---|---|
String |
quoteName(String value)
|
String |
quoteValue(Object value)
|
static JsonWriter.OutputType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JsonWriter.OutputType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JsonWriter.OutputType json
public static final JsonWriter.OutputType javascript
public static final JsonWriter.OutputType minimal
Method Detail |
---|
public static JsonWriter.OutputType[] values()
for (JsonWriter.OutputType c : JsonWriter.OutputType.values()) System.out.println(c);
public static JsonWriter.OutputType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String quoteValue(Object value)
public String quoteName(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |