Class/Object

io.circe

Json

Related Docs: object Json | package circe

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

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

    Permalink
    Definition Classes
    Product

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink

    Type-safe inequality.

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def ===(that: Json): Boolean

    Permalink

    Type-safe equality method.

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

    Permalink

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

  7. def as[A](implicit d: Decoder[A]): Xor[DecodingFailure, A]

    Permalink

    Attempts to decode this JSON value to another data type.

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

    Permalink
  9. def asBoolean: Option[Boolean]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def asNumber: Option[JsonNumber]

    Permalink
  12. def asObject: Option[JsonObject]

    Permalink
  13. def asString: Option[String]

    Permalink
  14. def clone(): AnyRef

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

    Permalink

    Construct a cursor from this JSON value.

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

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

    Permalink

    Universal equality derived from our type-safe equality.

    Universal equality derived from our type-safe equality.

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

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

    Permalink

    The catamorphism for the JSON value data type.

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

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

    Permalink

    Hashing that is consistent with our universal equality.

    Hashing that is consistent with our universal equality.

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

    Permalink

    Construct a cursor with history from this JSON value.

  23. def isArray: Boolean

    Permalink
  24. def isBoolean: Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isNull: Boolean

    Permalink
  27. def isNumber: Boolean

    Permalink
  28. def isObject: Boolean

    Permalink
  29. def isString: Boolean

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

    Permalink
  31. def mapBoolean(f: (Boolean) ⇒ Boolean): Json

    Permalink
  32. def mapNumber(f: (JsonNumber) ⇒ JsonNumber): Json

    Permalink
  33. def mapObject(f: (JsonObject) ⇒ JsonObject): Json

    Permalink
  34. def mapString(f: (String) ⇒ String): Json

    Permalink
  35. def name: String

    Permalink

    The name of the type of the JSON value.

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

    Permalink
    Definition Classes
    AnyRef
  37. def noSpaces: String

    Permalink

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

  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

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

    Permalink

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

  41. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  42. def productPrefix: String

    Permalink
    Definition Classes
    Product
  43. def spaces2: String

    Permalink

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

  44. def spaces4: String

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink

    Compute a String representation for this JSON value.

    Compute a String representation for this JSON value.

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

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

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

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

    Permalink
  51. def withBoolean(f: (Boolean) ⇒ Json): Json

    Permalink
  52. def withNumber(f: (JsonNumber) ⇒ Json): Json

    Permalink
  53. def withObject(f: (JsonObject) ⇒ Json): Json

    Permalink
  54. def withString(f: (String) ⇒ Json): Json

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped