Object

io.fintrospect.formats.json.Argo

JsonFormat

Related Doc: package Argo

Permalink

object JsonFormat extends JsonFormat[JsonRootNode, JsonNode]

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

Definition Classes
ArgoJsonLibrary
Linear Supertypes
JsonFormat[JsonRootNode, JsonNode], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonFormat
  2. JsonFormat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Field = (String, JsonNode)

    Permalink
    Definition Classes
    JsonFormat

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def array(elements: JsonNode*): JsonRootNode

    Permalink

    Create a JSON array from the passed elements

    Create a JSON array from the passed elements

    Definition Classes
    JsonFormatJsonFormat
  5. def array(elements: Iterable[JsonNode]): JsonRootNode

    Permalink

    Create a JSON array from the passed elements

    Create a JSON array from the passed elements

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

    Permalink
    Definition Classes
    Any
  7. def boolean(value: Boolean): JsonNode

    Permalink

    Create a JSON boolean node

    Create a JSON boolean node

    Definition Classes
    JsonFormatJsonFormat
  8. def clone(): AnyRef

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

    Permalink

    Compact printed JSON

    Compact printed JSON

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. def nullNode(): JsonNode

    Permalink

    Create a null JSON node

    Create a null JSON node

    Definition Classes
    JsonFormatJsonFormat
  20. def number(value: BigInteger): JsonNode

    Permalink

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  21. def number(value: Long): JsonNode

    Permalink

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  22. def number(value: BigDecimal): JsonNode

    Permalink

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  23. def number(value: Int): JsonNode

    Permalink

    Create a JSON number node

    Create a JSON number node

    Definition Classes
    JsonFormatJsonFormat
  24. def obj(fields: Field*): JsonRootNode

    Permalink

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

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

    Definition Classes
    JsonFormatJsonFormat
  25. def obj(fields: Iterable[Field]): JsonRootNode

    Permalink

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

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

    Definition Classes
    JsonFormatJsonFormat
  26. def objSym(fields: (Symbol, JsonNode)*): JsonRootNode

    Permalink

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

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

    Definition Classes
    JsonFormat
  27. def parse(in: String): JsonRootNode

    Permalink

    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
  28. def pretty(node: JsonRootNode): String

    Permalink

    Pretty printed JSON

    Pretty printed JSON

    Definition Classes
    JsonFormatJsonFormat
  29. def string(value: String): JsonStringNode

    Permalink

    Create a JSON string node

    Create a JSON string node

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonFormat[JsonRootNode, JsonNode]

Inherited from AnyRef

Inherited from Any

Ungrouped