| 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(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 |
|---|---|
String |
JsonValue.prettyPrint(JsonWriter.OutputType outputType,
int singleLineColumns) |
void |
JsonValue.prettyPrint(JsonWriter.OutputType outputType,
Writer writer)
More efficient than
JsonValue.prettyPrint(PrettyPrintSettings) but JsonValue.PrettyPrintSettings.singleLineColumns and
JsonValue.PrettyPrintSettings.wrapNumericArrays are not supported. |
void |
JsonWriter.setOutputType(JsonWriter.OutputType outputType)
Sets the type of JSON output.
|
void |
Json.setOutputType(JsonWriter.OutputType outputType)
Default is
minimal. |
String |
JsonValue.toJson(JsonWriter.OutputType outputType) |
| Constructor and Description |
|---|
Json(JsonWriter.OutputType outputType) |
Copyright © 2021. All rights reserved.