Package

io

circe

Permalink

package circe

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. circe
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ACursor extends Serializable

    Permalink

    A zipper that represents a position in a JSON document and supports navigation and modification.

    A zipper that represents a position in a JSON document and supports navigation and modification.

    The focus represents the current position of the cursor; it may be updated with withFocus or changed using navigation methods like left and right.

  2. sealed trait AccumulatingDecoder[A] extends Serializable

    Permalink
  3. trait ArrayEncoder[A] extends RootEncoder[A]

    Permalink

    A type class that provides a conversion from a value of type A to a JSON array.

  4. sealed abstract class CursorOp extends Product with Serializable

    Permalink
  5. trait Decoder[A] extends Serializable

    Permalink
  6. sealed abstract class DecodingFailure extends Error

    Permalink

    An exception representing a decoding failure and (lazily) capturing the decoding history resulting in the failure.

  7. trait Encoder[A] extends Serializable

    Permalink

    A type class that provides a conversion from a value of type A to a Json value.

  8. sealed abstract class Error extends Exception

    Permalink

    The base exception type for both decoding and parsing errors.

  9. final case class Errors(errors: NonEmptyList[Error]) extends Exception with Product with Serializable

    Permalink

    A convenience exception type for aggregating one or more decoding or parsing errors.

  10. final class FailedCursor extends ACursor

    Permalink
  11. abstract class HCursor extends ACursor

    Permalink
  12. sealed abstract class Json extends Product with Serializable

    Permalink

    A data type representing possible JSON values.

  13. sealed abstract class JsonNumber extends Serializable

    Permalink

    A JSON number with optimization by cases.

  14. sealed abstract class JsonObject extends Serializable

    Permalink

    A mapping from keys to JSON values that maintains insertion order.

  15. abstract class KeyDecoder[A] extends Serializable

    Permalink

    A type class that provides a conversion from a string used as a JSON key to a value of type A.

  16. abstract class KeyEncoder[A] extends Serializable

    Permalink

    A type class that provides a conversion from a value of type A to a string.

    A type class that provides a conversion from a value of type A to a string.

    This type class will be used to create strings for JSON keys when encoding Map[A, ?] instances as JSON.

    Note that if more than one value maps to the same string, the resulting JSON object may have fewer fields than the original map.

  17. trait ObjectEncoder[A] extends RootEncoder[A]

    Permalink

    A type class that provides a conversion from a value of type A to a JsonObject.

  18. trait Parser extends Serializable

    Permalink
  19. final case class ParsingFailure(message: String, underlying: Throwable) extends Error with Product with Serializable

    Permalink

    An exception representing a parsing failure and wrapping the exception provided by the parsing library.

  20. final case class Printer(preserveOrder: Boolean, dropNullValues: Boolean, indent: String, lbraceLeft: String = "", lbraceRight: String = "", rbraceLeft: String = "", rbraceRight: String = "", lbracketLeft: String = "", lbracketRight: String = "", rbracketLeft: String = "", rbracketRight: String = "", lrbracketsEmpty: String = "", arrayCommaLeft: String = "", arrayCommaRight: String = "", objectCommaLeft: String = "", objectCommaRight: String = "", colonLeft: String = "", colonRight: String = "", reuseWriters: Boolean = false, predictSize: Boolean = false, escapeNonAscii: Boolean = false) extends Product with Serializable

    Permalink

    A pretty-printer for JSON values.

    A pretty-printer for JSON values.

    preserveOrder

    Determines if field ordering should be preserved.

    dropNullValues

    Determines if object fields with values of null are dropped from the output.

    indent

    The indentation to use if any format strings contain a new line.

    lbraceLeft

    Spaces to insert to left of a left brace.

    lbraceRight

    Spaces to insert to right of a left brace.

    rbraceLeft

    Spaces to insert to left of a right brace.

    rbraceRight

    Spaces to insert to right of a right brace.

    lbracketLeft

    Spaces to insert to left of a left bracket.

    lbracketRight

    Spaces to insert to right of a left bracket.

    rbracketLeft

    Spaces to insert to left of a right bracket.

    rbracketRight

    Spaces to insert to right of a right bracket.

    lrbracketsEmpty

    Spaces to insert for an empty array.

    arrayCommaLeft

    Spaces to insert to left of a comma in an array.

    arrayCommaRight

    Spaces to insert to right of a comma in an array.

    objectCommaLeft

    Spaces to insert to left of a comma in an object.

    objectCommaRight

    Spaces to insert to right of a comma in an object.

    colonLeft

    Spaces to insert to left of a colon.

    colonRight

    Spaces to insert to right of a colon.

    reuseWriters

    Determines whether the printer will reuse Appendables via thread-local storage.

    predictSize

    Uses an adaptive size predictor to avoid grow-and-copy steps while printing into a binary output.

    escapeNonAscii

    Unicode-escape any non-ASCII characters in strings.

  21. trait RootEncoder[A] extends Encoder[A]

    Permalink

    A subtype of Encoder that statically verifies that the instance encodes either a JSON array or an object.

Value Members

  1. object ACursor extends Serializable

    Permalink
  2. object AccumulatingDecoder extends Serializable

    Permalink
  3. object ArrayEncoder extends LowPriorityArrayEncoders with Serializable

    Permalink

    Utilities and instances for ArrayEncoder.

  4. object CursorOp extends Serializable

    Permalink
  5. object Decoder extends CollectionDecoders with TupleDecoders with ProductDecoders with JavaTimeDecoders with LowPriorityDecoders with Serializable

    Permalink

    Utilities and instances for Decoder.

  6. object DecodingFailure extends Serializable

    Permalink
  7. object Encoder extends TupleEncoders with ProductEncoders with JavaTimeEncoders with MidPriorityEncoders with Serializable

    Permalink

    Utilities and instances for Encoder.

  8. object Error extends Serializable

    Permalink
  9. object HCursor extends Serializable

    Permalink
  10. object Json extends Serializable

    Permalink
  11. object JsonNumber extends Serializable

    Permalink

    Constructors, type class instances, and other utilities for JsonNumber.

  12. object JsonObject extends Serializable

    Permalink

    Constructors, type class instances, and other utilities for JsonObject.

  13. object KeyDecoder extends Serializable

    Permalink
  14. object KeyEncoder extends Serializable

    Permalink
  15. object ObjectEncoder extends LowPriorityObjectEncoders with Serializable

    Permalink

    Utilities and instances for ObjectEncoder.

  16. object ParsingFailure extends Serializable

    Permalink
  17. object Printer extends Serializable

    Permalink
  18. object RootEncoder extends LowPriorityRootEncoders with Serializable

    Permalink

    Utilities and instances for RootEncoder.

  19. object disjunctionCodecs

    Permalink

    Decoder and Encoder instances for disjunction types with reasonable names for the sides.

  20. package export

    Permalink
  21. package syntax

    Permalink

    This package provides syntax via enrichment classes.

Inherited from AnyRef

Inherited from Any

Ungrouped