# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Fields
  Field and Description
  com.fasterxml.jackson.core.filter.FilteringParserDelegate._includeImmediateParent
  com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate._includeImmediateParent

- Deprecated Methods
  Method and Description
  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.ObjectCodec.getJsonFactory() Since 2.1: Use `ObjectCodec.getFactory()` instead.
  com.fasterxml.jackson.core.type.ResolvedType.getParameterSource() Since 2.7: does not have meaning as parameters depend on type resolved.
  com.fasterxml.jackson.core.Version.isUknownVersion() Since 2.7 use correctly spelled method `Version.isUnknownVersion()`
  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.base.ParserBase.setFeatureMask(int)
  com.fasterxml.jackson.core.base.GeneratorBase.setFeatureMask(int)
  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
  com.fasterxml.jackson.core.util.JsonParserDelegate.setFeatureMask(int)
  com.fasterxml.jackson.core.util.JsonGeneratorDelegate.setFeatureMask(int)
  com.fasterxml.jackson.core.util.DefaultPrettyPrinter.spacesInObjectEntries(boolean) Since 2.3 use `DefaultPrettyPrinter.withSpacesInObjectEntries()` and `DefaultPrettyPrinter.withoutSpacesInObjectEntries()`

- Deprecated Constructors
  Constructor and Description
  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.Version(int, int, int, String) Use variant that takes group and artifact ids

Copyright © 2008-2016 FasterXML. All Rights Reserved.