p

argonaut

package argonaut

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Package Members

  1. package internal

Type Members

  1. case class ACursor(either: Either[HCursor, HCursor]) extends Product with Serializable
  2. trait ACursors extends AnyRef
  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
  4. sealed abstract class CodecJson[A] extends EncodeJson[A] with DecodeJson[A]
  5. trait CodecJsons extends GeneratedCodecJsons
  6. sealed abstract class Context extends AnyRef
  7. sealed abstract class ContextElement extends Product with Serializable
  8. trait ContextElements extends AnyRef
  9. trait Contexts extends AnyRef
  10. sealed abstract class Cursor extends Product with Serializable

    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

    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
  13. sealed abstract class CursorOp extends Product with Serializable
  14. case class CursorOpDeleteGoField(f: Json.JsonField) extends CursorOpElement with Product with Serializable
  15. case class CursorOpDownAt(p: (Json) => Boolean) extends CursorOpElement with Product with Serializable
  16. case class CursorOpDownField(f: Json.JsonField) extends CursorOpElement with Product with Serializable
  17. case class CursorOpDownN(n: Int) extends CursorOpElement with Product with Serializable
  18. sealed abstract class CursorOpElement extends Product with Serializable
  19. trait CursorOpElements extends AnyRef
  20. case class CursorOpField(f: Json.JsonField) extends CursorOpElement with Product with Serializable
  21. case class CursorOpFind(p: (Json) => Boolean) extends CursorOpElement with Product with Serializable
  22. case class CursorOpLeftAt(p: (Json) => Boolean) extends CursorOpElement with Product with Serializable
  23. case class CursorOpLeftN(n: Int) extends CursorOpElement with Product with Serializable
  24. case class CursorOpRightAt(p: (Json) => Boolean) extends CursorOpElement with Product with Serializable
  25. case class CursorOpRightN(n: Int) extends CursorOpElement with Product with Serializable
  26. case class CursorOpSetLefts(x: List[Json]) extends CursorOpElement with Product with Serializable
  27. case class CursorOpSetRights(x: List[Json]) extends CursorOpElement with Product with Serializable
  28. trait CursorOps extends AnyRef
  29. trait Cursors extends AnyRef
  30. trait DecodeJson[A] extends AnyRef
  31. trait DecodeJsons extends GeneratedDecodeJsons
  32. case class DecodeResult[A](result: Either[(String, CursorHistory), A]) extends Product with Serializable
  33. trait DecodeResults extends AnyRef
  34. case class El(o: CursorOpElement, success: Boolean) extends CursorOp with Product with Serializable
  35. trait EncodeJson[A] extends AnyRef

    Encode an arbitrary value as a JSON value.

  36. trait EncodeJsonKey[A] extends AnyRef

    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
  38. trait EncodeJsons extends GeneratedEncodeJsons
  39. trait EncodePossibleJsonNumber[T] extends AnyRef
  40. trait GeneratedCodecJsons extends AnyRef
  41. trait GeneratedDecodeJsons extends AnyRef
  42. trait GeneratedEncodeJsons extends AnyRef
  43. case class HCursor(cursor: Cursor, history: CursorHistory) extends Product with Serializable
  44. trait HCursors extends AnyRef
  45. sealed abstract class Json extends Product with Serializable

    A data type representing possible JSON values.

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

    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. final class JsonIdentity[J] extends AnyVal
  49. trait JsonIdentitys extends AnyRef
  50. case class JsonLong(value: Long) extends JsonNumber with Product with Serializable
  51. sealed abstract class JsonNumber extends AnyRef

    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

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

  53. trait JsonObjects extends AnyRef
  54. trait Jsons extends AnyRef

    Constructors and other utilities for JSON values.

  55. trait Parse[A] extends AnyRef

    Library functions for parsing json.

  56. class ParseWrap[A] extends AnyRef

    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

    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
  59. sealed abstract class StringWrap extends AnyRef

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

  60. trait StringWraps extends AnyRef

    Constructors and other utilities for wrapped string values.

Value Members

  1. object ACursor extends ACursors with Serializable
  2. object Argonaut extends Argonauts
  3. object CodecJson extends CodecJsons
  4. object Context extends Contexts
  5. object ContextElement extends ContextElements with Serializable
  6. object Cursor extends Cursors with Serializable
  7. object CursorHistory extends CursorHistorys with Serializable
  8. object CursorOp extends CursorOps with Serializable
  9. object CursorOpDeleteGoFirst extends CursorOpElement with Product with Serializable
  10. object CursorOpDeleteGoLast extends CursorOpElement with Product with Serializable
  11. object CursorOpDeleteGoLeft extends CursorOpElement with Product with Serializable
  12. object CursorOpDeleteGoParent extends CursorOpElement with Product with Serializable
  13. object CursorOpDeleteGoRight extends CursorOpElement with Product with Serializable
  14. object CursorOpDeleteLefts extends CursorOpElement with Product with Serializable
  15. object CursorOpDeleteRights extends CursorOpElement with Product with Serializable
  16. object CursorOpDownArray extends CursorOpElement with Product with Serializable
  17. object CursorOpElement extends CursorOpElements with Serializable
  18. object CursorOpFirst extends CursorOpElement with Product with Serializable
  19. object CursorOpLast extends CursorOpElement with Product with Serializable
  20. object CursorOpLeft extends CursorOpElement with Product with Serializable
  21. object CursorOpRight extends CursorOpElement with Product with Serializable
  22. object CursorOpUp extends CursorOpElement with Product with Serializable
  23. object DecodeJson extends DecodeJsons
  24. object DecodeResult extends DecodeResults with Serializable
  25. object EncodeJson extends EncodeJsons
  26. object EncodeJsonKey
  27. object EncodeJsonNumber
  28. object HCursor extends HCursors with Serializable
  29. object Info
  30. object Json extends Jsons with Serializable
  31. object JsonIdentity extends JsonIdentitys
  32. object JsonNumber
  33. object JsonObject extends JsonObjects
  34. object JsonParser
  35. object Parse extends Parse[String]

    Library functions for parsing json.

  36. object PrettyParams extends PrettyParamss with Serializable
  37. object Reattempt extends CursorOp with Product with Serializable
  38. object StringEscaping
  39. object StringWrap extends StringWraps

Ungrouped