Packages

  • package root
    Definition Classes
    root
  • package io
    Definition Classes
    root
  • package circe
    Definition Classes
    io
  • package jackson

    Support for Jackson-powered parsing and printing for circe.

    Support for Jackson-powered parsing and printing for circe.

    Note that not all guarantees that hold for Jawn-based parsing and the default printer will hold for the Jackson-based versions. Jackson's handling of numbers in particular differs significantly: it doesn't distinguish positive and negative zeros, it may truncate large JSON numbers or simply fail to parse them, it may print large numbers as strings, etc.

    The implementation is ported with minimal changes from Play JSON.

    Definition Classes
    circe
  • package syntax

    This package provides syntax for Jackson printing via enrichment classes.

  • CirceJsonModule
  • JacksonParser
  • WithJacksonMapper
p

io.circe

jackson

package jackson

Support for Jackson-powered parsing and printing for circe.

Note that not all guarantees that hold for Jawn-based parsing and the default printer will hold for the Jackson-based versions. Jackson's handling of numbers in particular differs significantly: it doesn't distinguish positive and negative zeros, it may truncate large JSON numbers or simply fail to parse them, it may print large numbers as strings, etc.

The implementation is ported with minimal changes from Play JSON.

Source
package.scala
Linear Supertypes
JacksonCompat, JacksonParser, Parser, Serializable, Serializable, WithJacksonMapper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jackson
  2. JacksonCompat
  3. JacksonParser
  4. Parser
  5. Serializable
  6. Serializable
  7. WithJacksonMapper
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait JacksonParser extends Parser
  2. class WithJacksonMapper extends AnyRef

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any
  2. abstract def parse(input: String): Either[ParsingFailure, Json]
    Definition Classes
    Parser

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def decode[A](input: String)(implicit decoder: Decoder[A]): Either[Error, A]
    Definition Classes
    Parser
  6. final def decodeAccumulating[A](input: String)(implicit decoder: Decoder[A]): ValidatedNel[Error, A]
    Definition Classes
    Parser
  7. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  8. def handleUnexpectedToken(context: DeserializationContext)(klass: Class[_], parser: JsonParser): Unit
    Attributes
    protected
    Definition Classes
    JacksonCompat
  9. def hashCode(): Int
    Definition Classes
    Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def jacksonPrint(json: Json): String
  12. final def jsonBytesParser(bytes: Array[Byte]): JsonParser
    Attributes
    protected
    Definition Classes
    WithJacksonMapper
  13. final def jsonFileParser(file: File): JsonParser
    Attributes
    protected
    Definition Classes
    WithJacksonMapper
  14. final def jsonStringParser(input: String): JsonParser
    Attributes
    protected
    Definition Classes
    WithJacksonMapper
  15. def makeWriter(mapper: ObjectMapper): ObjectWriter
    Attributes
    protected
    Definition Classes
    JacksonCompat
  16. final val mapper: ObjectMapper
    Attributes
    protected
    Definition Classes
    WithJacksonMapper
  17. final def parseByteArray(bytes: Array[Byte]): Either[ParsingFailure, Json]
    Definition Classes
    JacksonParser
  18. final def parseFile(file: File): Either[ParsingFailure, Json]
    Definition Classes
    JacksonParser
  19. final def stringJsonGenerator(out: StringWriter): JsonGenerator
    Attributes
    protected
    Definition Classes
    WithJacksonMapper
  20. def toString(): String
    Definition Classes
    Any
  21. object CirceJsonModule extends SimpleModule

Inherited from JacksonCompat

Inherited from JacksonParser

Inherited from Parser

Inherited from Serializable

Inherited from Serializable

Inherited from WithJacksonMapper

Inherited from AnyRef

Inherited from Any

Ungrouped