public final class JsonCharsets extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
UTF_16BE
UTF-16BE (big endian)
|
static Charset |
UTF_16LE
UTF-16LE (little endian)
|
static Charset |
UTF_8
UTF-8
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Charset> |
supportedJsonEncodings()
The encodings supported by both JSON and the Java runtime.
|
static Charset |
UTF_32BE()
WARNING: known to throw
UnsupportedCharsetException on Sun Java 5. |
static Charset |
UTF_32LE()
WARNING: known to throw
UnsupportedCharsetException on Sun Java 5. |
public static final Charset UTF_8
public static final Charset UTF_16BE
public static final Charset UTF_16LE
public static Set<Charset> supportedJsonEncodings()
public static Charset UTF_32LE()
UnsupportedCharsetException on Sun Java 5.UnsupportedCharsetExceptionpublic static Charset UTF_32BE()
UnsupportedCharsetException on Sun Java 5.UnsupportedCharsetExceptionCopyright © 2014. All Rights Reserved.