# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants

Deprecated Methods
Method and Description
com.fasterxml.jackson.core.base.ParserMinimalBase._ascii(byte[])
com.fasterxml.jackson.core.base.ParserMinimalBase._asciiBytes(String)
com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(String) Since 2.8 use `ParserMinimalBase._reportInvalidEOF(String, JsonToken)` instead
com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOFInValue() Since 2.8 use `ParserMinimalBase._reportInvalidEOF(String, JsonToken)` instead
com.fasterxml.jackson.core.JsonFactory.configure(JsonFactory.Feature, boolean) since 2.10 use `TSFBuilder.configure(JsonFactory.Feature, boolean)` instead
com.fasterxml.jackson.core.util.JsonParserSequence.createFlattened(JsonParser, JsonParser)
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(OutputStream) Since 2.2, use `JsonFactory.createGenerator(OutputStream)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(OutputStream, JsonEncoding) Since 2.2, use `JsonFactory.createGenerator(OutputStream, JsonEncoding)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(Writer) Since 2.2, use `JsonFactory.createGenerator(Writer)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(byte[]) Since 2.2, use `JsonFactory.createParser(byte[])` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(byte[], int, int) Since 2.2, use `JsonFactory.createParser(byte[],int,int)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(File) Since 2.2, use `JsonFactory.createParser(File)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(InputStream) Since 2.2, use `JsonFactory.createParser(InputStream)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(Reader) Since 2.2, use `JsonFactory.createParser(Reader)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(String) Since 2.2, use `JsonFactory.createParser(String)` instead.
com.fasterxml.jackson.core.JsonFactory.createJsonParser(URL) Since 2.2, use `JsonFactory.createParser(URL)` instead.
com.fasterxml.jackson.core.json.JsonWriteContext.createRootContext() Since 2.3; use method that takes argument
com.fasterxml.jackson.core.JsonFactory.disable(JsonFactory.Feature) since 2.10 use `TSFBuilder.configure(JsonFactory.Feature, boolean)` instead
com.fasterxml.jackson.core.JsonFactory.enable(JsonFactory.Feature) since 2.10 use `TSFBuilder.configure(JsonFactory.Feature, boolean)` instead
com.fasterxml.jackson.core.util.BufferRecyclers.encodeAsUTF8(String) Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)
com.fasterxml.jackson.core.JsonParser.getCurrentTokenId() Since 2.12 use `JsonParser.currentTokenId()` instead
com.fasterxml.jackson.core.util.JsonParserDelegate.getCurrentTokenId()
com.fasterxml.jackson.core.filter.FilteringParserDelegate.getCurrentTokenId()
com.fasterxml.jackson.core.base.ParserMinimalBase.getCurrentTokenId()
com.fasterxml.jackson.core.util.JsonGeneratorDelegate.getDelegate()
com.fasterxml.jackson.core.ObjectCodec.getJsonFactory() Use `ObjectCodec.getFactory()` instead.
com.fasterxml.jackson.core.util.BufferRecyclers.getJsonStringEncoder() Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)
com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getNextChar(String)
com.fasterxml.jackson.core.type.ResolvedType.getParameterSource() Since 2.7: does not have meaning as parameters depend on type resolved.
com.fasterxml.jackson.core.JsonStreamContext.getTypeDesc() Since 2.8 use `JsonStreamContext.typeDesc()` instead
com.fasterxml.jackson.core.Version.isUknownVersion() Since 2.7 use correctly spelled method `Version.isUnknownVersion()`
com.fasterxml.jackson.core.base.ParserBase.loadMore()
com.fasterxml.jackson.core.base.ParserBase.loadMoreGuaranteed()
com.fasterxml.jackson.core.util.VersionUtil.mavenVersionFor(ClassLoader, String, String) Since 2.6: functionality not used by any official Jackson component, should be moved out if anyone needs it
com.fasterxml.jackson.core.util.VersionUtil.packageVersionFor(Class<?>) Since 2.12 simply use `VersionUtil.versionFor(Class)` instead
com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonText(CharSequence, StringBuilder) Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)
com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonText(String) Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)
com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonUTF8(String) Since 2.10 (note: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)
com.fasterxml.jackson.core.JsonParser.setFeatureMask(int) Since 2.7, use `JsonParser.overrideStdFeatures(int, int)` instead
com.fasterxml.jackson.core.JsonGenerator.setFeatureMask(int) Since 2.7, use `JsonGenerator.overrideStdFeatures(int, int)` instead -- remove from 2.9
com.fasterxml.jackson.core.util.JsonParserDelegate.setFeatureMask(int)
com.fasterxml.jackson.core.util.JsonGeneratorDelegate.setFeatureMask(int)
com.fasterxml.jackson.core.base.ParserBase.setFeatureMask(int)
com.fasterxml.jackson.core.base.GeneratorBase.setFeatureMask(int)
com.fasterxml.jackson.core.JsonFactory.setInputDecorator(InputDecorator) Since 2.10 use `TSFBuilder.inputDecorator(InputDecorator)` instead
com.fasterxml.jackson.core.JsonFactory.setOutputDecorator(OutputDecorator) Since 2.10 use `TSFBuilder.outputDecorator(OutputDecorator)` instead
com.fasterxml.jackson.core.util.VersionUtil.version()
com.fasterxml.jackson.core.JsonGenerator.writeStartArray(int) Since 2.12 Use `JsonGenerator.writeStartArray(Object, int)` instead

Deprecated Constructors
Constructor and Description
com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate(JsonGenerator, TokenFilter, boolean, boolean) since 2.12 Use the constructor that takes `TokenFilter.Inclusion` argument instead.
com.fasterxml.jackson.core.filter.FilteringParserDelegate(JsonParser, TokenFilter, boolean, boolean)
com.fasterxml.jackson.core.JsonGenerationException(String)
com.fasterxml.jackson.core.JsonGenerationException(String, Throwable)
com.fasterxml.jackson.core.JsonGenerationException(Throwable)
com.fasterxml.jackson.core.JsonParseException(String, JsonLocation)
com.fasterxml.jackson.core.JsonParseException(String, JsonLocation, Throwable)
com.fasterxml.jackson.core.util.JsonParserSequence(JsonParser[])
com.fasterxml.jackson.core.json.UTF8JsonGenerator(IOContext, int, ObjectCodec, OutputStream)
com.fasterxml.jackson.core.json.UTF8JsonGenerator(IOContext, int, ObjectCodec, OutputStream, byte[], int, boolean)
com.fasterxml.jackson.core.json.UTF8StreamJsonParser(IOContext, int, InputStream, ObjectCodec, ByteQuadsCanonicalizer, byte[], int, int, boolean) Since 2.10
com.fasterxml.jackson.core.Version(int, int, int, String) Use variant that takes group and artifact ids
com.fasterxml.jackson.core.json.WriterBasedJsonGenerator(IOContext, int, ObjectCodec, Writer)

Deprecated Enum Constants
Enum Constant and Description
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER Since 2.10 use `JsonReadFeature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_LEADING_DECIMAL_POINT_FOR_NUMBERS Use `JsonReadFeature.ALLOW_LEADING_DECIMAL_POINT_FOR_NUMBERS` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_MISSING_VALUES Since 2.10 use `JsonReadFeature.ALLOW_MISSING_VALUES` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS Since 2.10 use `JsonReadFeature.ALLOW_NON_NUMERIC_NUMBERS` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_NUMERIC_LEADING_ZEROS Since 2.10 use `JsonReadFeature.ALLOW_LEADING_ZEROS_FOR_NUMBERS` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_TRAILING_COMMA Since 2.10 use `JsonReadFeature.ALLOW_TRAILING_COMMA` instead
com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS Since 2.10 use `JsonReadFeature.ALLOW_UNESCAPED_CONTROL_CHARS` instead
com.fasterxml.jackson.core.JsonGenerator.Feature.ESCAPE_NON_ASCII Since 2.10 use `JsonWriteFeature.ESCAPE_NON_ASCII` instead
com.fasterxml.jackson.core.JsonGenerator.Feature.QUOTE_FIELD_NAMES Since 2.10 use `JsonWriteFeature.QUOTE_FIELD_NAMES` instead
com.fasterxml.jackson.core.JsonGenerator.Feature.QUOTE_NON_NUMERIC_NUMBERS Since 2.10 use `JsonWriteFeature.WRITE_NAN_AS_STRINGS` instead
com.fasterxml.jackson.core.JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS Since 2.10 use `JsonWriteFeature.WRITE_NUMBERS_AS_STRINGS` instead