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. case class ACursor(either: Xor[HCursor, HCursor]) extends ACursorOperations with Product with Serializable

    Permalink

    A cursor that tracks history and represents the possibility of failure.

    A cursor that tracks history and represents the possibility of failure.

    See also

    GenericCursor

  2. sealed abstract class Context extends Serializable

    Permalink
  3. abstract class Cursor extends CursorOperations

    Permalink

    A zipper that represents a position in a JSON value and supports navigation around the JSON value.

    A zipper that represents a position in a JSON value and supports navigation around the JSON value.

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

    See also

    GenericCursor

  4. sealed abstract class CursorOp extends Product with Serializable

    Permalink
  5. trait Decoder[A] extends Serializable

    Permalink
  6. case class DecodingFailure(message: String, history: List[HistoryOp]) extends Exception with Error with Product with Serializable

    Permalink
  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. trait Error extends Exception

    Permalink
  9. trait GenericCursor[C <: GenericCursor[C]] 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.

    circe includes three kinds of cursors. Cursor is the simplest: it doesn't keep track of its history. HCursor is a cursor that does keep track of its history, but does not represent the possibility that a navigation or modification operation has failed. ACursor is the richest cursor, since it both tracks history through an underlying HCursor and can represent failed operations.

    GenericCursor is an abstraction over these three types, and it has several abstract type members that are required in order to represent the different roles of the three cursor types. Self is simply the specific type of the cursor, Focus is a type constructor that represents the context in which the focus is available, Result is the type that is returned by all navigation and modification operations, and M is a type class that includes the operations that we need for withFocusM.

  10. case class HCursor(cursor: Cursor, history: List[HistoryOp]) extends HCursorOperations with Product with Serializable

    Permalink

    A cursor that tracks the history of operations performed with it.

    A cursor that tracks the history of operations performed with it.

    See also

    GenericCursor

  11. sealed abstract class HistoryOp extends Product with Serializable

    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. trait ObjectEncoder[A] extends Encoder[A]

    Permalink

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

  16. trait Parser extends Serializable

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

    Permalink
  18. final case class Printer(preserveOrder: Boolean, dropNullKeys: 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 = "") extends Serializable with Product

    Permalink

    A pretty-printer for JSON values.

    A pretty-printer for JSON values.

    preserveOrder

    Determines if field ordering should be preserved.

    dropNullKeys

    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.

Value Members

  1. object ACursor extends Serializable

    Permalink
  2. object Context extends Serializable

    Permalink
  3. object Cursor extends Serializable

    Permalink
  4. object CursorOp extends Serializable

    Permalink
  5. object Decoder extends TupleDecoders with LowPriorityDecoders with Serializable

    Permalink

    Utilities and instances for Decoder.

  6. object DecodingFailure extends Serializable

    Permalink
  7. object Encoder extends TupleEncoders with LowPriorityEncoders with Serializable

    Permalink

    Utilities and instances for Encoder.

  8. object Error extends Serializable

    Permalink
  9. object HCursor extends Serializable

    Permalink
  10. object HistoryOp extends Serializable

    Permalink
  11. object Json extends Serializable

    Permalink
  12. object JsonNumber extends Serializable

    Permalink

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

  13. object JsonObject extends Serializable

    Permalink

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

  14. object ObjectEncoder extends LowPriorityObjectEncoders with Serializable

    Permalink
  15. object ParsingFailure extends Serializable

    Permalink
  16. object Printer extends Serializable

    Permalink
  17. object disjunctionCodecs

    Permalink

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

  18. package syntax

    Permalink

    This package provides syntax via enrichment classes.

Inherited from AnyRef

Inherited from Any

Ungrouped