# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Classes
  Class and Description
  com.fasterxml.jackson.core.sym.BytesToNameCanonicalizer Since 2.6, replaced by `ByteQuadsCanonicalizer`
  com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Lf2SpacesIndenter Since 2.5 use `DefaultIndenter` instead

- Deprecated Fields
  Field and Description
  com.fasterxml.jackson.core.filter.FilteringParserDelegate._includeImmediateParent
  com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate._includeImmediateParent
  com.fasterxml.jackson.core.JsonFactory._rootByteSymbols Since 2.6.0, only use `JsonFactory._byteSymbolCanonicalizer`
  com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Lf2SpacesIndenter.instance Use `DefaultIndenter.SYSTEM_LINEFEED_INSTANCE` instead.

- Deprecated Methods
  Method and Description
  com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(File, JsonEncoding) Since 2.2, use `JsonFactory.createGenerator(File,JsonEncoding)` instead.
  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.json.JsonReadContext.createRootContext()
  com.fasterxml.jackson.core.json.JsonReadContext.createRootContext(int, int)
  com.fasterxml.jackson.core.ObjectCodec.getJsonFactory() Since 2.1: Use `ObjectCodec.getFactory()` instead.
  com.fasterxml.jackson.core.sym.BytesToNameCanonicalizer.makeChild(boolean, boolean)
  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.DefaultPrettyPrinter.spacesInObjectEntries(boolean) Since 2.3 use `DefaultPrettyPrinter.withSpacesInObjectEntries()` and `DefaultPrettyPrinter.withoutSpacesInObjectEntries()`

- Deprecated Constructors
  Constructor and Description
  com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Lf2SpacesIndenter() Use `new DefaultIndenter(" ", DefaultIndenter.SYS_LF)` instead
  com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Lf2SpacesIndenter(String) Use `new DefaultIndenter(" ", lf)` instead
  com.fasterxml.jackson.core.Version(int, int, int, String) Use variant that takes group and artifact ids

Copyright © 2014-2015 FasterXML. All Rights Reserved.