Packages

o

value.spec

JsArraySpecs

object JsArraySpecs

Factory of specs to define values as Json arrays

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsArraySpecs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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 array(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArray

    returns a spec to specify that a value is an array

    returns a spec to specify that a value is an array

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  5. val array: IsArray

    spec to specify that a value is an array

  6. def arrayOf(spec: JsObjSpec, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): ArrayOfObjSpec

    returns a spec to specify that a value is a Json array which elements are objects that conforms a specified spec

    returns a spec to specify that a value is a Json array which elements are objects that conforms a specified spec

    spec

    the specified Json object spec

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  7. def arrayOfBool(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfBool

    returns a spec to specify that a value is an array of boolean numbers

    returns a spec to specify that a value is an array of boolean numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  8. val arrayOfBool: IsArrayOfBool

    spec to specify that a value is an array of booleans

  9. def arrayOfBoolSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of booleans that satisfies a predicate

    returns a spec to specify that a value is an array of booleans that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  10. def arrayOfDecimal(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfDecimal

    returns a spec to specify that a value is an array of decimal numbers

    returns a spec to specify that a value is an array of decimal numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  11. val arrayOfDecimal: IsArrayOfDecimal

    spec to specify that a value is an array of decimal numbers

  12. def arrayOfDecimalSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of decimals that satisfies a predicate

    returns a spec to specify that a value is an array of decimals that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  13. def arrayOfInt(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfInt

    returns a spec to specify that a value is an array of integer numbers

    returns a spec to specify that a value is an array of integer numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  14. val arrayOfInt: IsArrayOfInt

    spec to specify that a value is an array of integer numbers

  15. def arrayOfIntSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of integer that satisfies a predicate

    returns a spec to specify that a value is an array of integer that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  16. def arrayOfIntegral(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfIntegral

    returns a spec to specify that a value is an array of integral numbers

    returns a spec to specify that a value is an array of integral numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  17. val arrayOfIntegral: IsArrayOfIntegral

    spec to specify that a value is an array of integral numbers

  18. def arrayOfIntegralSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of integral numbers that satisfies a predicate

    returns a spec to specify that a value is an array of integral numbers that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  19. def arrayOfLong(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfLong

    returns a spec to specify that a value is an array of long numbers

    returns a spec to specify that a value is an array of long numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  20. val arrayOfLong: IsArrayOfLong

    spec to specify that a value is an array of long numbers

  21. def arrayOfLongSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of longs that satisfies a predicate

    returns a spec to specify that a value is an array of longs that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  22. def arrayOfNumber(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfNumber

    returns a spec to specify that a value is an array of numbers

    returns a spec to specify that a value is an array of numbers

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  23. val arrayOfNumber: IsArrayOfNumber

    spec to specify that a value is an array of numbers

  24. def arrayOfNumberSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of numbers that satisfies a predicate

    returns a spec to specify that a value is an array of numbers that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  25. def arrayOfObj(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfObj

    returns a spec to specify that a value is an array of Json objects

    returns a spec to specify that a value is an array of Json objects

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  26. val arrayOfObj: IsArrayOfObj

    spec to specify that a value is an array of Json objects

  27. def arrayOfObjSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfObjSuchThat

    returns a spec to specify that a value is an array of Json objects that satisfies a predicate

    returns a spec to specify that a value is an array of Json objects that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  28. def arrayOfStr(nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfStr

    returns a spec to specify that a value is an array of strings

    returns a spec to specify that a value is an array of strings

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  29. val arrayOfStr: IsArrayOfStr

    spec to specify that a value is an array of strings

  30. def arrayOfStrSuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of strings that satisfies a predicate

    returns a spec to specify that a value is an array of strings that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  31. def arrayOfTestedDecimal(p: (BigDecimal) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of decimals, where each number of the array satisfies a predicate

    returns a spec to specify that a value is an array of decimals, where each number of the array satisfies a predicate

    p

    the predicate on which each decimal has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  32. def arrayOfTestedInt(p: (Int) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of integers, where each number of the array satisfies a predicate

    returns a spec to specify that a value is an array of integers, where each number of the array satisfies a predicate

    p

    the predicate on which each integer has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  33. def arrayOfTestedIntegral(p: (BigInt) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of integral numbers, where each number of the array satisfies a predicate

    returns a spec to specify that a value is an array of integral numbers, where each number of the array satisfies a predicate

    p

    the predicate on which each integral number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  34. def arrayOfTestedLong(p: (Long) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of longs, where each number of the array satisfies a predicate

    returns a spec to specify that a value is an array of longs, where each number of the array satisfies a predicate

    p

    the predicate on which each long has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  35. def arrayOfTestedNumber(p: (JsNumber) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of numbers, where each number of the array satisfies a predicate

    returns a spec to specify that a value is an array of numbers, where each number of the array satisfies a predicate

    p

    the predicate on which each number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  36. def arrayOfTestedObj(p: (JsObj) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): IsArrayOfTestedObj

    returns a spec to specify that a value is an array of Json objects, where each element of the array satisfies a predicate

    returns a spec to specify that a value is an array of Json objects, where each element of the array satisfies a predicate

    p

    the predicate on which each Json object has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  37. def arrayOfTestedStr(p: (String) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array of strings, where each string of the array satisfies a predicate

    returns a spec to specify that a value is an array of strings, where each string of the array satisfies a predicate

    p

    the predicate on which each string has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  38. def arrayOfTestedValue(p: (JsValue) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array, where each value of the array satisfies a predicate

    returns a spec to specify that a value is an array, where each value of the array satisfies a predicate

    p

    the predicate on which each value has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  39. def arraySuchThat(p: (JsArray) => Result, nullable: Boolean = false, required: Boolean = true, elemNullable: Boolean = false): JsSpec

    returns a spec to specify that a value is an array that satisfies a predicate

    returns a spec to specify that a value is an array that satisfies a predicate

    p

    the predicate on which the Json array has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    elemNullable

    if true, the array can contain null values

    returns

    a spec

  40. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  41. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  42. def conforms(spec: JsArraySpec, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a Json array that conforms a specified spec

    returns a spec to specify that a value is a Json array that conforms a specified spec

    spec

    the specified Json array spec

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  45. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  46. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped