Packages

  • package root
    Definition Classes
    root
  • package eu
    Definition Classes
    root
  • package shiftforward
    Definition Classes
    eu
  • package apso

    Contains ShiftForward's general-purpose utility classes and methods, as well as extensions of existing ones.

    Contains ShiftForward's general-purpose utility classes and methods, as well as extensions of existing ones.

    Definition Classes
    shiftforward
  • package json

    Provides utility classes and methods related to JSON handling.

    Provides utility classes and methods related to JSON handling.

    Definition Classes
    apso
  • object Implicits

    Object containing implicit classes and methods related to JSON handling.

    Object containing implicit classes and methods related to JSON handling.

    Definition Classes
    json
  • ApsoJsonJsObject
  • ApsoJsonJsValue
  • ToInt

implicit final class ApsoJsonJsValue extends AnyVal

Implicit class that provides new methods for JsValues.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApsoJsonJsValue
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApsoJsonJsValue(json: JsValue)

    json

    the JsValue to which the new methods are provided.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val json: JsValue
  8. def merge(other: JsValue, failOnConflict: Boolean = true): JsValue

    Merges two JsValues if they are JsArrays or JsObjects.

    Merges two JsValues if they are JsArrays or JsObjects. If they are JsObjects, a deep merge is performed.

    When merging JsObjects, if failOnConflict is false and conflicts exists between terminal values, these are resolved by using the values of the second JSON. If failOnConflict is true, an IllegalArgumentException is thrown.

    other

    the other JSON value to merge

    failOnConflict

    whether to fail or resolve conflicts by using the values on the other JSON.

    returns

    the resulting merged JsObject

  9. def toString(): String
    Definition Classes
    Any
  10. def toValue: Any

    Unwraps a JSON value.

    Unwraps a JSON value. If the given value is a JSON string, number or boolean, a String, BigDecimal or Boolean is returned respectively. If the given value is a JSON array or object, a List[Any] or Map[String, Any] is returned respectively, where each of the values is recursively unwrapped. If the given value is a JSON null, null is returned.

    returns

    the unwrapped JSON value.

Inherited from AnyVal

Inherited from Any

Ungrouped