io.finch.json

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: 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 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

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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

  10. 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

  11. 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

  12. 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

  13. def emptyArray: Json

    Creates an empty json array.

    Creates an empty json array.

    returns

    an empty json array.

  14. def emptyObject: Json

    Creates an empty json object

    Creates an empty json object

    returns

    an empty json object

  15. 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

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

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

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

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

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

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

    Definition Classes
    Any
  22. 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

  23. 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

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

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

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

    Definition Classes
    AnyRef
  27. 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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped