| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.fasterxml.jackson.core.JsonEncoding | |
Enumeration that defines legal encodings that can be used for JSON content, based on list of allowed encodings from JSON specification.
Note: if application want to explicitly disregard Encoding
limitations (to read in JSON encoded using an encoding not
listed as allowed), they can use java.io.Reader /
Writer instances as input
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| JsonEncoding | UTF16_BE | ||||||||||
| JsonEncoding | UTF16_LE | ||||||||||
| JsonEncoding | UTF32_BE | ||||||||||
| JsonEncoding | UTF32_LE | ||||||||||
| JsonEncoding | UTF8 | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _bigEndian | |||||||||||
| _javaName | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Method for accessing encoding name that JDK will support.
| |||||||||||
Whether encoding is big-endian (if encoding supports such
notion).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Method for accessing encoding name that JDK will support.
Whether encoding is big-endian (if encoding supports such
notion). If no such distinction is made (as is the case for
UTF8), return value is undefined.