Package | Description |
---|---|
com.badlogic.gdx.utils |
Modifier and Type | Field and Description |
---|---|
JsonWriter.OutputType |
JsonValue.PrettyPrintSettings.outputType |
Modifier and Type | Method and Description |
---|---|
static JsonWriter.OutputType |
JsonWriter.OutputType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonWriter.OutputType[] |
JsonWriter.OutputType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JsonValue.prettyPrint(JsonWriter.OutputType outputType,
int singleLineColumns) |
void |
JsonValue.prettyPrint(JsonWriter.OutputType outputType,
java.io.Writer writer)
More efficient than
JsonValue.prettyPrint(PrettyPrintSettings) but JsonValue.PrettyPrintSettings.singleLineColumns and
JsonValue.PrettyPrintSettings.wrapNumericArrays are not supported. |
void |
Json.setOutputType(JsonWriter.OutputType outputType)
Default is
minimal . |
void |
JsonWriter.setOutputType(JsonWriter.OutputType outputType)
Sets the type of JSON output.
|
java.lang.String |
JsonValue.toJson(JsonWriter.OutputType outputType) |
Constructor and Description |
---|
Json(JsonWriter.OutputType outputType) |