Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
/** * Deprecated alias of {@link #currentName()}. * * @return Name of the current field in the parsing context * * @throws IOException for low-level read issues, or * {@link JsonParseException} for decoding problems * * @deprecated Since 2.17 use {@link #currentName} instead. */ @Deprecated public abstract String getCurrentName() throws IOException; /** * Method that can be called to get the name associated with * the current token: for {@link JsonToken#FIELD_NAME}s it will * be the same as what {@link #getText} returns; * for field values it will be preceding field name; * and for others (array values, root-level values) null. * * @return Name of the current field in the parsing context * * @throws IOException for low-level read issues, or * {@link JsonParseException} for decoding problems * * @since 2.10 */ public String currentName() throws IOException { // !!! TODO: switch direction in 2.18 or later return getCurrentName(); }
Attachments
Issue Links
- links to