argonaut

Json

object Json extends Jsons

Linear Supertypes
Jsons, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Json
  2. Jsons
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type JsonArray = List[Json]

    Definition Classes
    Jsons
  2. type JsonAssoc = (JsonField, Json)

    Definition Classes
    Jsons
  3. type JsonAssocList = List[(JsonField, Json)]

    Definition Classes
    Jsons
  4. type JsonBoolean = Boolean

    Definition Classes
    Jsons
  5. type JsonField = String

    Definition Classes
    Jsons
  6. type JsonString = String

    Definition Classes
    Jsons

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. implicit val JsonInstances: Equal[Json] with Show[Json]

    Definition Classes
    Jsons
  7. def apply(fields: (JsonField, Json)*): Json

  8. def array(elements: Json*): Json

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val jArray: (JsonArray) ⇒ Json

    Construct a JSON value that is an array.

    Construct a JSON value that is an array.

    Definition Classes
    Jsons
  18. def jArrayElements(elements: Json*): Json

    Construct a JSON value that is an array from a list of elements (var args).

    Construct a JSON value that is an array from a list of elements (var args).

    Definition Classes
    Jsons
  19. def jArrayPL: @?>[Json, JsonArray]

    A partial lens for JSON array values.

    A partial lens for JSON array values.

    Definition Classes
    Jsons
  20. def jArrayPrism: SimplePrism[Json, JsonArray]

    A Prism for JSON array values.

    A Prism for JSON array values.

    Definition Classes
    Jsons
  21. def jBigDecimalPrism: SimplePrism[Json, BigDecimal]

    A Prism for JSON number values.

    A Prism for JSON number values.

    Definition Classes
    Jsons
  22. def jBigIntPrism: SimplePrism[Json, BigInt]

    A Prism for JSON BigInt values.

    A Prism for JSON BigInt values.

    Definition Classes
    Jsons
  23. val jBool: (Boolean) ⇒ Json

    Construct a JSON value that is a boolean.

    Construct a JSON value that is a boolean.

    Definition Classes
    Jsons
  24. def jBoolPL: @?>[Json, Boolean]

    A partial lens for JSON boolean values.

    A partial lens for JSON boolean values.

    Definition Classes
    Jsons
  25. def jBoolPrism: SimplePrism[Json, Boolean]

    A Prism for JSON boolean values.

    A Prism for JSON boolean values.

    Definition Classes
    Jsons
  26. def jBytePrism: SimplePrism[Json, Byte]

    A Prism for JSON Byte values.

    A Prism for JSON Byte values.

    Definition Classes
    Jsons
  27. def jDoublePrism: SimplePrism[Json, Double]

    A Prism for JSON number values.

    A Prism for JSON number values. Note: It is an invalid Prism for NaN, +Infinity and -Infinity as they are not valid json.

    Definition Classes
    Jsons
  28. val jEmptyArray: Json

    A JSON value that is an empty array.

    A JSON value that is an empty array.

    Definition Classes
    Jsons
  29. val jEmptyObject: Json

    A JSON value that is an empty object.

    A JSON value that is an empty object.

    Definition Classes
    Jsons
  30. val jEmptyString: Json

    A JSON value that is an empty string.

    A JSON value that is an empty string.

    Definition Classes
    Jsons
  31. val jFalse: Json

    Construct a JSON boolean value of false.

    Construct a JSON boolean value of false.

    Definition Classes
    Jsons
  32. def jIntPrism: SimplePrism[Json, Int]

    A Prism for JSON Int values.

    A Prism for JSON Int values.

    Definition Classes
    Jsons
  33. def jLongPrism: SimplePrism[Json, Long]

    A Prism for JSON Long values.

    A Prism for JSON Long values.

    Definition Classes
    Jsons
  34. val jNull: Json

    Construct a JSON value that is null.

    Construct a JSON value that is null.

    Definition Classes
    Jsons
  35. def jNumber(n: String): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Definition Classes
    Jsons
  36. def jNumber(n: BigDecimal): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Definition Classes
    Jsons
  37. def jNumber(n: Double): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Note: NaN, +Infinity and -Infinity are not valid json.

    Definition Classes
    Jsons
  38. def jNumber(n: Long): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Note: NaN, +Infinity and -Infinity are not valid json.

    Definition Classes
    Jsons
  39. def jNumber(n: Int): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Note: NaN, +Infinity and -Infinity are not valid json.

    Definition Classes
    Jsons
  40. def jNumber(n: JsonNumber): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Definition Classes
    Jsons
  41. def jNumberOrNull(n: String): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming the Strings "NaN", "Infinity", "+Infinity" and "-Infinity" to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.

    Definition Classes
    Jsons
  42. def jNumberOrNull(n: BigDecimal): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number.

    Definition Classes
    Jsons
  43. def jNumberOrNull(n: Double): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.

    Definition Classes
    Jsons
  44. def jNumberOrNull(n: Long): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.

    Definition Classes
    Jsons
  45. def jNumberOrNull(n: Int): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to jNull. This matches the behaviour of most browsers, but is a lossy operation as you can no longer distinguish between NaN and Infinity.

    Definition Classes
    Jsons
  46. def jNumberOrString(n: String): Option[Json]

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming the Strings "NaN", "Infinity", "+Infinity" and "-Infinity" to their string implementations.

    This is an argonaut specific transformation that allows all doubles to be encoded without losing information, but aware interoperability is unlikely without custom handling of these values. See also jNumber and jNumberOrNull.

    Definition Classes
    Jsons
  47. def jNumberOrString(n: Double): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to their string implementations.

    This is an argonaut specific transformation that allows all doubles to be encoded without losing information, but aware interoperability is unlikely without custom handling of these values. See also jNumber and jNumberOrNull.

    Definition Classes
    Jsons
  48. def jNumberOrString(n: Long): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to their string implementations.

    This is an argonaut specific transformation that allows all doubles to be encoded without losing information, but aware interoperability is unlikely without custom handling of these values. See also jNumber and jNumberOrNull.

    Definition Classes
    Jsons
  49. def jNumberOrString(n: Int): Json

    Construct a JSON value that is a number.

    Construct a JSON value that is a number. Transforming NaN, +Infinity and -Infinity to their string implementations.

    This is an argonaut specific transformation that allows all doubles to be encoded without losing information, but aware interoperability is unlikely without custom handling of these values. See also jNumber and jNumberOrNull.

    Definition Classes
    Jsons
  50. def jNumberPL: @?>[Json, JsonNumber]

    A partial lens for JSON number values.

    A partial lens for JSON number values.

    Definition Classes
    Jsons
  51. val jObject: (JsonObject) ⇒ Json

    Construct a JSON value that is an object.

    Construct a JSON value that is an object.

    Definition Classes
    Jsons
  52. def jObjectAssocList(x: JsonAssocList): Json

    Construct a JSON value that is an object from an association list.

    Construct a JSON value that is an object from an association list.

    Definition Classes
    Jsons
  53. implicit val jObjectAt: At[JsonObject, JsonField, Json]

    Definition Classes
    Jsons
  54. implicit val jObjectEach: Each[JsonObject, Json]

    Definition Classes
    Jsons
  55. def jObjectFields(x: (JsonField, Json)*): Json

    Construct a JSON value that is an object from an association list (var args).

    Construct a JSON value that is an object from an association list (var args).

    Definition Classes
    Jsons
  56. implicit val jObjectFilterIndex: FilterIndex[JsonObject, JsonField, Json]

    Definition Classes
    Jsons
  57. implicit val jObjectIndex: Index[JsonObject, JsonField, Json]

    Definition Classes
    Jsons
  58. def jObjectPL: @?>[Json, JsonObject]

    A partial lens for JSON object values.

    A partial lens for JSON object values.

    Definition Classes
    Jsons
  59. def jObjectPrism: SimplePrism[Json, JsonObject]

    A Prism for JSON object values.

    A Prism for JSON object values.

    Definition Classes
    Jsons
  60. def jShortPrism: SimplePrism[Json, Short]

    A Prism for JSON Short values.

    A Prism for JSON Short values.

    Definition Classes
    Jsons
  61. def jSingleArray(j: Json): Json

    Returns a function that takes a single value and produces a JSON array that contains only that value.

    Returns a function that takes a single value and produces a JSON array that contains only that value.

    Definition Classes
    Jsons
  62. def jSingleObject(k: JsonField, v: Json): Json

    Returns a function that takes an association value and produces a JSON object that contains only that value.

    Returns a function that takes an association value and produces a JSON object that contains only that value.

    Definition Classes
    Jsons
  63. val jString: (JsonString) ⇒ Json

    Construct a JSON value that is a string.

    Construct a JSON value that is a string.

    Definition Classes
    Jsons
  64. def jStringPL: @?>[Json, JsonString]

    A partial lens for JSON string values.

    A partial lens for JSON string values.

    Definition Classes
    Jsons
  65. def jStringPrism: SimplePrism[Json, JsonString]

    A Prism for JSON string values.

    A Prism for JSON string values.

    Definition Classes
    Jsons
  66. val jTrue: Json

    Construct a JSON boolean value of true.

    Construct a JSON boolean value of true.

    Definition Classes
    Jsons
  67. val jZero: Json

    A JSON value that is a zero number.

    A JSON value that is a zero number.

    Definition Classes
    Jsons
  68. def jsonArrayPL(n: Int): @?>[JsonArray, Json]

    A partial lens for element of JSON array.

    A partial lens for element of JSON array.

    Definition Classes
    Jsons
  69. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  70. final def notify(): Unit

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

    Definition Classes
    AnyRef
  72. def obj(fields: (JsonField, Json)*): Json

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

    Definition Classes
    AnyRef
  74. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Jsons

Inherited from AnyRef

Inherited from Any

Ungrouped