Package

argonaut

Permalink

package argonaut

Visibility
  1. Public
  2. All

Type Members

  1. case class ACursor(either: Either[HCursor, HCursor]) extends Product with Serializable

    Permalink
  2. trait ACursors extends AnyRef

    Permalink
  3. trait Argonauts extends ACursors with CodecJsons with Contexts with ContextElements with Cursors with CursorHistorys with CursorOps with CursorOpElements with DecodeJsons with DecodeResults with EncodeJsons with HCursors with Jsons with JsonIdentitys with JsonObjects with PrettyParamss with StringWraps

    Permalink
  4. sealed abstract class CodecJson[A] extends EncodeJson[A] with DecodeJson[A]

    Permalink
  5. trait CodecJsons extends GeneratedCodecJsons

    Permalink
  6. sealed abstract class Context extends AnyRef

    Permalink
  7. sealed abstract class ContextElement extends Product with Serializable

    Permalink
  8. trait ContextElements extends AnyRef

    Permalink
  9. trait Contexts extends AnyRef

    Permalink
  10. sealed abstract class Cursor extends Product with Serializable

    Permalink

    Represents a position in a JSON value and allows moving around the JSON value.

    Represents a position in a JSON value and allows moving around the JSON value. Also known as a "zipper." The cursor has a focus representing the current position being referred to by the cursor. Users may update the focus using withFocus (or the >-> alias) and move the cursor around with left, right, field, downArray, downField and up.

  11. case class CursorHistory(toList: List[CursorOp]) extends Product with Serializable

    Permalink

    A list of elements denoting the history of a cursor.

    A list of elements denoting the history of a cursor.

    Note: Most recent operation appears at head of list.

  12. trait CursorHistorys extends AnyRef

    Permalink
  13. sealed abstract class CursorOp extends Product with Serializable

    Permalink
  14. case class CursorOpDeleteGoField(f: Json.JsonField) extends CursorOpElement with Product with Serializable

    Permalink
  15. case class CursorOpDownAt(p: (Json) ⇒ Boolean) extends CursorOpElement with Product with Serializable

    Permalink
  16. case class CursorOpDownField(f: Json.JsonField) extends CursorOpElement with Product with Serializable

    Permalink
  17. case class CursorOpDownN(n: Int) extends CursorOpElement with Product with Serializable

    Permalink
  18. sealed abstract class CursorOpElement extends Product with Serializable

    Permalink
  19. trait CursorOpElements extends AnyRef

    Permalink
  20. case class CursorOpField(f: Json.JsonField) extends CursorOpElement with Product with Serializable

    Permalink
  21. case class CursorOpFind(p: (Json) ⇒ Boolean) extends CursorOpElement with Product with Serializable

    Permalink
  22. case class CursorOpLeftAt(p: (Json) ⇒ Boolean) extends CursorOpElement with Product with Serializable

    Permalink
  23. case class CursorOpLeftN(n: Int) extends CursorOpElement with Product with Serializable

    Permalink
  24. case class CursorOpRightAt(p: (Json) ⇒ Boolean) extends CursorOpElement with Product with Serializable

    Permalink
  25. case class CursorOpRightN(n: Int) extends CursorOpElement with Product with Serializable

    Permalink
  26. case class CursorOpSetLefts(x: List[Json]) extends CursorOpElement with Product with Serializable

    Permalink
  27. case class CursorOpSetRights(x: List[Json]) extends CursorOpElement with Product with Serializable

    Permalink
  28. trait CursorOps extends AnyRef

    Permalink
  29. trait Cursors extends AnyRef

    Permalink
  30. trait DecodeJson[+A] extends AnyRef

    Permalink
  31. trait DecodeJsons extends GeneratedDecodeJsons

    Permalink
  32. case class DecodeResult[+A](result: Either[(String, CursorHistory), A]) extends Product with Serializable

    Permalink
  33. trait DecodeResults extends AnyRef

    Permalink
  34. case class El(o: CursorOpElement, success: Boolean) extends CursorOp with Product with Serializable

    Permalink
  35. trait EncodeJson[-A] extends AnyRef

    Permalink

    Encode an arbitrary value as a JSON value.

  36. trait EncodeJsonKey[A] extends AnyRef

    Permalink

    A typeclass for encode an arbitrary value as a JSON key.

    A typeclass for encode an arbitrary value as a JSON key.

    Example:
    1. final case class Foo(value: String)
      object Foo {
        implicit val instance: EncodeJsonKey[Foo] =
          EncodeJsonKey.from(_.value)
      }
      EncodeJson.of[Map[Foo, Int]]
  37. trait EncodeJsonNumber[T] extends AnyRef

    Permalink
  38. trait EncodeJsons extends GeneratedEncodeJsons

    Permalink
  39. trait EncodePossibleJsonNumber[T] extends AnyRef

    Permalink
  40. trait GeneratedCodecJsons extends AnyRef

    Permalink
  41. trait GeneratedDecodeJsons extends AnyRef

    Permalink
  42. trait GeneratedEncodeJsons extends AnyRef

    Permalink
  43. case class HCursor(cursor: Cursor, history: CursorHistory) extends Product with Serializable

    Permalink
  44. trait HCursors extends AnyRef

    Permalink
  45. sealed abstract class Json extends Product with Serializable

    Permalink

    A data type representing possible JSON values.

    A data type representing possible JSON values.

  46. case class JsonBigDecimal(value: BigDecimal) extends JsonNumber with Product with Serializable

    Permalink
  47. case class JsonDecimal extends JsonNumber with Product with Serializable

    Permalink

    A JsonDecimal represents and valid JSON number as a String.

    A JsonDecimal represents and valid JSON number as a String. Unfortunately, there is no type in the Scala standard library which can represent all valid JSON decimal numbers, since the exponent may be larger than an Int. Such a number can still be round tripped (parser to printer). We lazily parse the string to a BigDecimal or a Double on demand.

  48. trait JsonIdentity[J] extends AnyRef

    Permalink
  49. trait JsonIdentitys extends AnyRef

    Permalink
  50. case class JsonLong(value: Long) extends JsonNumber with Product with Serializable

    Permalink
  51. sealed abstract class JsonNumber extends AnyRef

    Permalink

    JSON numbers with optimization by cases.

    JSON numbers with optimization by cases. Note: Javascript numbers are 64-bit decimals.

  52. sealed abstract class JsonObject extends AnyRef

    Permalink

    A mapping from field to JSON value that maintains insertion order.

  53. trait JsonObjects extends AnyRef

    Permalink
  54. trait Jsons extends AnyRef

    Permalink

    Constructors and other utilities for JSON values.

  55. trait Parse[A] extends AnyRef

    Permalink

    Library functions for parsing json.

  56. class ParseWrap[A] extends AnyRef

    Permalink

    Utility for building the argonaut API over various types.

    Utility for building the argonaut API over various types. This is used to implement StringWrap, and it is expected that it would be used by integrations with other toolkits to provide an argonaut API on their types.

  57. case class PrettyParams(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, preserveOrder: Boolean, dropNullKeys: Boolean) extends Product with Serializable

    Permalink

    Parameters for pretty-printing a JSON value.

    Parameters for pretty-printing a JSON value.

    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.

    preserveOrder

    Determines if field ordering should be preserved.

    dropNullKeys

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

  58. trait PrettyParamss extends AnyRef

    Permalink
  59. sealed abstract class StringWrap extends AnyRef

    Permalink

    Wraps a String value and provides methods, particularly for parsing.

  60. trait StringWraps extends AnyRef

    Permalink

    Constructors and other utilities for wrapped string values.

Value Members

  1. object ACursor extends ACursors with Serializable

    Permalink
  2. object Argonaut extends Argonauts

    Permalink
  3. object CodecJson extends CodecJsons

    Permalink
  4. object Context extends Contexts

    Permalink
  5. object ContextElement extends ContextElements with Serializable

    Permalink
  6. object Cursor extends Cursors with Serializable

    Permalink
  7. object CursorHistory extends CursorHistorys with Serializable

    Permalink
  8. object CursorOp extends CursorOps with Serializable

    Permalink
  9. object CursorOpDeleteGoFirst extends CursorOpElement with Product with Serializable

    Permalink
  10. object CursorOpDeleteGoLast extends CursorOpElement with Product with Serializable

    Permalink
  11. object CursorOpDeleteGoLeft extends CursorOpElement with Product with Serializable

    Permalink
  12. object CursorOpDeleteGoParent extends CursorOpElement with Product with Serializable

    Permalink
  13. object CursorOpDeleteGoRight extends CursorOpElement with Product with Serializable

    Permalink
  14. object CursorOpDeleteLefts extends CursorOpElement with Product with Serializable

    Permalink
  15. object CursorOpDeleteRights extends CursorOpElement with Product with Serializable

    Permalink
  16. object CursorOpDownArray extends CursorOpElement with Product with Serializable

    Permalink
  17. object CursorOpElement extends CursorOpElements with Serializable

    Permalink
  18. object CursorOpFirst extends CursorOpElement with Product with Serializable

    Permalink
  19. object CursorOpLast extends CursorOpElement with Product with Serializable

    Permalink
  20. object CursorOpLeft extends CursorOpElement with Product with Serializable

    Permalink
  21. object CursorOpRight extends CursorOpElement with Product with Serializable

    Permalink
  22. object CursorOpUp extends CursorOpElement with Product with Serializable

    Permalink
  23. object DecodeJson extends DecodeJsons

    Permalink
  24. object DecodeResult extends DecodeResults with Serializable

    Permalink
  25. object EncodeJson extends EncodeJsons

    Permalink
  26. object EncodeJsonKey

    Permalink
  27. object EncodeJsonNumber

    Permalink
  28. object HCursor extends HCursors with Serializable

    Permalink
  29. object Info

    Permalink
  30. object Json extends Jsons with Serializable

    Permalink
  31. object JsonIdentity extends JsonIdentitys

    Permalink
  32. object JsonNumber

    Permalink
  33. object JsonObject extends JsonObjects

    Permalink
  34. object JsonParser

    Permalink
  35. object Parse extends Parse[String]

    Permalink

    Library functions for parsing json.

  36. object PrettyParams extends PrettyParamss with Serializable

    Permalink
  37. object Reattempt extends CursorOp with Product with Serializable

    Permalink
  38. object StringEscaping

    Permalink
  39. object StringWrap extends StringWraps

    Permalink
  40. package internal

    Permalink

Ungrouped