Uses of Interface
jsonvalues.spec.JsArraySpec

Packages that use JsArraySpec
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications (specs) and parsers.
  • Uses of JsArraySpec in jsonvalues.spec

    Methods in jsonvalues.spec that return JsArraySpec
    Modifier and Type
    Method
    Description
    JsSpecs.array()
    non-nullable array spec
    JsSpecs.array(Predicate<JsValue> predicate)
    Returns a specification for a non-nullable array, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfBigInt()
    non-nullable array of integral numbers spec
    JsSpecs.arrayOfBigInt(int minLength, int maxLength)
    Returns a specification for an array of big integers with a specified minimum and maximum length.
    JsSpecs.arrayOfBigInt(Predicate<BigInteger> predicate)
    Returns a specification for a non-nullable array of integral numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfBigInt(Predicate<BigInteger> predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of integral numbers, where each element of the array satisfies the given predicate.
    Returns a specification for a non-nullable array of integral numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfBool()
    non-nullable array of booleans spec
    JsSpecs.arrayOfBool(int minLength, int maxLength)
    Returns a specification for an array of booleans with a specified minimum and maximum length.
    Returns a specification for a non-nullable array of booleans that satisfies the given predicate.
    JsSpecs.arrayOfDec()
    non-nullable array of decimal numbers spec
    JsSpecs.arrayOfDec(int minLength, int maxLength)
    Returns a specification for an array of decimal numbers with a specified minimum and maximum length.
    JsSpecs.arrayOfDec(Predicate<BigDecimal> predicate)
    Returns a specification for a non-nullable array of decimal numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfDec(Predicate<BigDecimal> predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of decimal numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfDecSuchThat(Predicate<JsArray> predicate)
    Returns a specification for a non-nullable array of decimal numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfDouble()
    non-nullable array of double numbers spec
    JsSpecs.arrayOfDouble(int minLength, int maxLength)
    Returns a specification for an array of double with a specified minimum and maximum length.
    JsSpecs.arrayOfDouble(DoublePredicate predicate, int minLength, int maxLength)
     
    JsSpecs.arrayOfDouble(Predicate<Double> predicate)
    Returns a specification for a non-nullable array of decimal numbers, where each element of the array satisfies the given predicate.
    Returns a specification for a non-nullable array of double that satisfies the given predicate.
    JsSpecs.arrayOfInt()
    non-nullable array of integer numbers spec
    JsSpecs.arrayOfInt(int minLength, int maxLength)
    Returns a specification for an array of integers with a specified minimum and maximum length.
    JsSpecs.arrayOfInt(IntPredicate predicate)
    Returns a specification for a non-nullable array of integer numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfInt(IntPredicate predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of integer numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfIntSuchThat(Predicate<JsArray> predicate)
    Returns a specification for a non-nullable array of integer numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfLong()
    non-nullable array of long numbers spec
    JsSpecs.arrayOfLong(int minLength, int maxLength)
    Returns a specification for an array of long numbers with a specified minimum and maximum length.
    JsSpecs.arrayOfLong(LongPredicate predicate)
    Returns a specification for a non-nullable array of long numbers, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfLong(LongPredicate predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of long numbers, where each element of the array satisfies the given predicate.
    Returns a specification for a non-nullable array of long numbers that satisfies the given predicate.
    JsSpecs.arrayOfObj()
    non-nullable array of objects spec
    JsSpecs.arrayOfObj(int minLength, int maxLength)
    Returns a specification for an array of objects with a specified minimum and maximum length.
    JsSpecs.arrayOfObj(Predicate<JsObj> predicate)
    Returns a specification for a non-nullable array of objects, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfObj(Predicate<JsObj> predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of objects, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfObjSuchThat(Predicate<JsArray> predicate)
    Returns a specification for a non-nullable array of objects that satisfies the given predicate.
    JsSpecs.arrayOfSpec(JsSpec spec)
    Returns a specification that validates that the JSON is an array, and the value of each element is a value that conforms the given spec.
    JsSpecs.arrayOfSpec(JsSpec spec, int min, int max)
    Returns a specification that validates that the JSON is an array within the limits of the specified bounds, and the value of each element is a value that conforms the given spec.
    JsSpecs.arrayOfStr()
    non-nullable array of strings spec
    JsSpecs.arrayOfStr(int minLength, int maxLength)
    Returns a specification for an array of strings with a specified minimum and maximum length.
    JsSpecs.arrayOfStr(Predicate<String> predicate)
    Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfStr(Predicate<String> predicate, int minLength, int maxLength)
    Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given predicate.
    JsSpecs.arrayOfStrSuchThat(Predicate<JsArray> predicate)
    Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given predicate.
    JsSpecs.arraySuchThat(Predicate<JsArray> predicate)
    Returns a specification for a non-nullable array that satisfies the given predicate.
    JsSpecs.tuple(JsSpec spec, JsSpec... others)
    Returns a tuple specification where each nth element of the tuple is specified by the nth given spec.