io.circe

Json

sealed abstract class Json extends Product with Serializable

A data type representing possible JSON values.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Json
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Json()

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Definition Classes
    Equals
  2. abstract def productArity: Int

    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def =!=(that: Json): Boolean

    Type-safe inequality.

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def ===(that: Json): Boolean

    Type-safe equality method.

  8. def arrayOrObject[X](or: ⇒ X, jsonArray: (List[Json]) ⇒ X, jsonObject: (JsonObject) ⇒ X): X

    Run on an array or object or return the given default.

  9. def as[A](implicit d: Decoder[A]): Result[A]

    Attempts to decode this JSON value to another data type.

  10. def asArray: Option[List[Json]]

  11. def asBoolean: Option[Boolean]

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def asNumber: Option[JsonNumber]

  14. def asObject: Option[JsonObject]

  15. def asString: Option[String]

  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def cursor: Cursor

    Construct a cursor from this JSON value.

  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(that: Any): Boolean

    Universal equality derived from our type-safe equality.

    Universal equality derived from our type-safe equality.

    Definition Classes
    Json → Equals → AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def fold[X](jsonNull: ⇒ X, jsonBoolean: (Boolean) ⇒ X, jsonNumber: (JsonNumber) ⇒ X, jsonString: (String) ⇒ X, jsonArray: (List[Json]) ⇒ X, jsonObject: (JsonObject) ⇒ X): X

    The catamorphism for the JSON value data type.

  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Hashing that is consistent with our universal equality.

    Hashing that is consistent with our universal equality.

    Definition Classes
    Json → AnyRef → Any
  24. def hcursor: HCursor

    Construct a cursor with history from this JSON value.

  25. def isArray: Boolean

  26. def isBoolean: Boolean

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isNull: Boolean

  29. def isNumber: Boolean

  30. def isObject: Boolean

  31. def isString: Boolean

  32. def mapArray(f: (List[Json]) ⇒ List[Json]): Json

  33. def mapBoolean(f: (Boolean) ⇒ Boolean): Json

  34. def mapNumber(f: (JsonNumber) ⇒ JsonNumber): Json

  35. def mapObject(f: (JsonObject) ⇒ JsonObject): Json

  36. def mapString(f: (String) ⇒ String): Json

  37. def name: String

    The name of the type of the JSON value.

  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. def noSpaces: String

    Pretty-print this JSON value to a string with no spaces.

  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  42. def pretty(p: Printer): String

    Pretty-print this JSON value to a string using the given pretty-printer.

  43. def productIterator: Iterator[Any]

    Definition Classes
    Product
  44. def productPrefix: String

    Definition Classes
    Product
  45. def spaces2: String

    Pretty-print this JSON value to a string indentation of two spaces.

  46. def spaces4: String

    Pretty-print this JSON value to a string indentation of four spaces.

  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toString(): String

    Compute a String representation for this JSON value.

    Compute a String representation for this JSON value.

    Definition Classes
    Json → AnyRef → Any
  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def withArray(f: (List[Json]) ⇒ Json): Json

  53. def withBoolean(f: (Boolean) ⇒ Json): Json

  54. def withNumber(f: (JsonNumber) ⇒ Json): Json

  55. def withObject(f: (JsonObject) ⇒ Json): Json

  56. def withString(f: (String) ⇒ Json): Json

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped