io.fintrospect.formats.json.Spray

JsonFormat

object JsonFormat extends JsonFormat[JsValue, JsValue]

Use this to parse and create JSON objects in a generic way

Definition Classes
SprayJsonLibrary
Linear Supertypes
JsonFormat[JsValue, JsValue], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonFormat
  2. JsonFormat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Field = (String, JsValue)

    Definition Classes
    JsonFormat

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. def array(elements: JsValue*): JsValue

    Create a JSON array from the passed elements

    Create a JSON array from the passed elements

    Definition Classes
    JsonFormatJsonFormat
  7. def array(elements: Iterable[JsValue]): JsValue

    Create a JSON array from the passed elements

    Create a JSON array from the passed elements

    Definition Classes
    JsonFormatJsonFormat
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def boolean(value: Boolean): JsValue

    Create a JSON boolean node

    Create a JSON boolean node

    Definition Classes
    JsonFormatJsonFormat
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compact(node: JsValue): String

    Compact printed JSON

    Compact printed JSON

    Definition Classes
    JsonFormatJsonFormat
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def nullNode(): JsNull.type

    Create a null JSON node

    Create a null JSON node

    Definition Classes
    JsonFormatJsonFormat
  22. def number(value: BigInteger): JsValue

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  23. def number(value: Long): JsValue

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  24. def number(value: BigDecimal): JsValue

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  25. def number(value: Int): JsValue

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  26. def obj(fields: (String, JsValue)*): JsObject

    Create a JSON object from the passed String -> Node pairs

    Create a JSON object from the passed String -> Node pairs

    Definition Classes
    JsonFormatJsonFormat
  27. def obj(fields: Iterable[(String, JsValue)]): JsObject

    Create a JSON object from the passed String -> Node pairs

    Create a JSON object from the passed String -> Node pairs

    Definition Classes
    JsonFormatJsonFormat
  28. def objSym(fields: (Symbol, JsValue)*): JsValue

    Create a JSON object from the passed Symbol -> Node pairs

    Create a JSON object from the passed Symbol -> Node pairs

    Definition Classes
    JsonFormat
  29. def parse(in: String): JsValue

    Attempt to parse the JSON into the root node type.

    Attempt to parse the JSON into the root node type. Implementations should throw an exception if the parsing fails, which is dealt with by the surrounding deserialisation mechanism, so you don't need to worry about having to muddy your own code with the exception handling.

    Definition Classes
    JsonFormatJsonFormat
  30. def pretty(node: JsValue): String

    Pretty printed JSON

    Pretty printed JSON

    Definition Classes
    JsonFormatJsonFormat
  31. def string(value: String): JsValue

    Create a JSON string node

    Create a JSON string node

    Definition Classes
    JsonFormatJsonFormat
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonFormat[JsValue, JsValue]

Inherited from AnyRef

Inherited from Any

Ungrouped