object JsArraySpecs
Factory of specs to define values as Json arrays
- Alphabetic
- By Inheritance
- JsArraySpecs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
val
array: IsArray
spec to specify that a value is an array
-
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
-
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
-
val
arrayOfBool: IsArrayOfBool
spec to specify that a value is an array of booleans
-
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
-
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
-
val
arrayOfDecimal: IsArrayOfDecimal
spec to specify that a value is an array of decimal numbers
-
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
-
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
-
val
arrayOfInt: IsArrayOfInt
spec to specify that a value is an array of integer numbers
-
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
-
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
-
val
arrayOfIntegral: IsArrayOfIntegral
spec to specify that a value is an array of integral numbers
-
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
-
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
-
val
arrayOfLong: IsArrayOfLong
spec to specify that a value is an array of long numbers
-
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
-
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
-
val
arrayOfNumber: IsArrayOfNumber
spec to specify that a value is an array of numbers
-
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
-
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
-
val
arrayOfObj: IsArrayOfObj
spec to specify that a value is an array of Json objects
-
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
-
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
-
val
arrayOfStr: IsArrayOfStr
spec to specify that a value is an array of strings
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()