Package | Description |
---|---|
jsonvalues.spec |
Modifier and Type | Class and Description |
---|---|
class |
JsArrayOfJsObjSpec |
class |
JsTupleSpec
Represents a specification of every element of a Json array.
|
Modifier and Type | Method and Description |
---|---|
static JsArraySpec |
JsSpecs.array()
non-nullable array spec
|
static JsArraySpec |
JsSpecs.array(Predicate<JsValue> predicate)
non-nullable array, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfBigInt()
non-nullable array of integral numbers spec
|
static JsArraySpec |
JsSpecs.arrayOfBigInt(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfBigInt(Predicate<BigInteger> predicate)
non-nullable array of integral numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfBigInt(Predicate<BigInteger> predicate,
int minLength,
int maxLength)
non-nullable array of integral numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfBigIntSuchThat(Predicate<JsArray> predicate)
non-nullable array of integral numbers that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfBool()
non-nullable array of booleans spec
|
static JsArraySpec |
JsSpecs.arrayOfBool(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfBoolSuchThat(Predicate<JsArray> predicate)
non-nullable array of booleans that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfDec()
non-nullable array of decimal numbers spec
|
static JsArraySpec |
JsSpecs.arrayOfDec(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfDec(Predicate<BigDecimal> predicate)
non-nullable array of decimal numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfDec(Predicate<BigDecimal> predicate,
int minLength,
int maxLength)
non-nullable array of decimal numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfDecSuchThat(Predicate<JsArray> predicate)
non-nullable array of decimal numbers that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfInt()
non-nullable array of integer numbers spec
|
static JsArraySpec |
JsSpecs.arrayOfInt(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfInt(IntPredicate predicate)
non-nullable array of integer numbers, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfInt(IntPredicate predicate,
int minLength,
int maxLength)
non-nullable array of integer numbers, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfIntSuchThat(Predicate<JsArray> predicate)
non-nullable array of numbers that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfLong()
non-nullable array of long numbers spec
|
static JsArraySpec |
JsSpecs.arrayOfLong(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfLong(LongPredicate predicate)
non-nullable array of long numbers, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfLong(LongPredicate predicate,
int minLength,
int maxLength)
non-nullable array of long numbers, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfLongSuchThat(Predicate<JsArray> predicate)
non-nullable array of long numbers that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfNumber()
non-nullable array of numbers spec
|
static JsArraySpec |
JsSpecs.arrayOfNumber(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfNumber(Predicate<JsNumber> predicate)
non-nullable array of numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfNumber(Predicate<JsNumber> predicate,
int minLength,
int maxLength)
non-nullable array of numbers, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfNumberSuchThat(Predicate<JsArray> predicate)
non-nullable array of numbers that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfObj()
non-nullable array of objects spec
|
static JsArraySpec |
JsSpecs.arrayOfObj(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfObj(Predicate<JsObj> predicate)
non-nullable array of objects, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfObj(Predicate<JsObj> predicate,
int minLength,
int maxLength)
non-nullable array of objects, where each element of the array satisfies
the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfObjSpec(JsObjSpec spec)
A required and none nullable spec that specifies an array of objects that conform the given spec
|
static JsArraySpec |
JsSpecs.arrayOfObjSpec(JsObjSpec spec,
int minLength,
int maxLength)
A required and none nullable spec that specifies an array of objects that conform the given spec
|
static JsArraySpec |
JsSpecs.arrayOfObjSuchThat(Predicate<JsArray> predicate)
non-nullable array of objects that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfStr()
non-nullable array of strings spec
|
static JsArraySpec |
JsSpecs.arrayOfStr(int minLength,
int maxLength) |
static JsArraySpec |
JsSpecs.arrayOfStr(Predicate<String> predicate)
non-nullable array of strings, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfStr(Predicate<String> predicate,
int minLength,
int maxLength)
non-nullable array of strings, where each element of the array satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arrayOfStrSuchThat(Predicate<JsArray> predicate)
non-nullable array of strings that satisfies the given predicate
|
static JsArraySpec |
JsSpecs.arraySuchThat(Predicate<JsArray> predicate)
non-nullable array that satisfies the given predicate
|
Constructor and Description |
---|
JsArrayParser(JsArraySpec spec) |
Copyright © 2022. All rights reserved.