io.finch.json

Json

Related Docs: trait Json | package json

object Json

A json companion object, which in an entry point into JSON API.

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

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def arr(args: Any*): Json

    Creates a new json array of given sequence of items args.

    Creates a new json array of given sequence of items args.

    args

    sequence of items in the array

    returns

    a new json array

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compress(j: Json): Json

    Removes all null-value properties from this json object.

    Removes all null-value properties from this json object.

    returns

    a compressed json object

  8. def concatLeft(a: Json, b: Json): Json

    Concatenates two given json object a and b with a object in priority.

    Concatenates two given json object a and b with a object in priority.

    a

    the left object

    b

    the right object

    returns

    a concatenated array

  9. def concatRight(a: Json, b: Json): Json

    Concatenates two given json object a and b with b object priority.

    Concatenates two given json object a and b with b object priority.

    a

    the left object

    b

    the right object

    returns

    a concatenated array

  10. def decode(s: String): Option[Json]

    Decodes a json object from the given string s.

    Decodes a json object from the given string s.

    s

    a string representation of a json object

    returns

    a decoded json object wrapping in option

  11. def emptyArray: Json

    Creates an empty json array.

    Creates an empty json array.

    returns

    an empty json array.

  12. def emptyObject: Json

    Creates an empty json object

    Creates an empty json object

    returns

    an empty json object

  13. def encode(j: Json): String

    Encodes the given json object j into its string representation.

    Encodes the given json object j into its string representation.

    j

    a json object to encode

    returns

    a string representation of a json object

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

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

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

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

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

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

    Definition Classes
    Any
  20. def mergeLeft(a: Json, b: Json): Json

    Deeply merges given json objects a and b into a single json object.

    Deeply merges given json objects a and b into a single json object. In case of conflict tag the value of a left json object will be taken.

    a

    the left json object

    b

    the right json object

    returns

    a merged json object

  21. def mergeRight(a: Json, b: Json): Json

    Deeply merges given json objects a and b into a single json object.

    Deeply merges given json objects a and b into a single json object. In case of conflict tag the value of a right json object will be taken.

    a

    the left json object

    b

    the right json object

    returns

    a merged json object

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

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

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

    Definition Classes
    AnyRef
  25. def obj(args: (String, Any)*): Json

    Creates a json object of given sequence of properties args.

    Creates a json object of given sequence of properties args. Every argument/property is a pair of tag and value associated with it. It's possible to pass a complete json path (separated by dot) as tag.

    args

    a sequence of json properties

    returns

    a json object

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped