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 JsArraySpecModifier and TypeMethodDescriptionstatic JsArraySpec
JsSpecs.array()
non-nullable array specstatic JsArraySpec
Returns a specification for a non-nullable array, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfBigInt()
non-nullable array of integral numbers specstatic JsArraySpec
JsSpecs.arrayOfBigInt
(int minLength, int maxLength) Returns a specification for an array of big integers with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfBigIntSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of integral numbers, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfBool()
non-nullable array of booleans specstatic JsArraySpec
JsSpecs.arrayOfBool
(int minLength, int maxLength) Returns a specification for an array of booleans with a specified minimum and maximum length.static JsArraySpec
JsSpecs.arrayOfBoolSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of booleans that satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfDec()
non-nullable array of decimal numbers specstatic JsArraySpec
JsSpecs.arrayOfDec
(int minLength, int maxLength) Returns a specification for an array of decimal numbers with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfInt()
non-nullable array of integer numbers specstatic JsArraySpec
JsSpecs.arrayOfInt
(int minLength, int maxLength) Returns a specification for an array of integers with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfLong()
non-nullable array of long numbers specstatic JsArraySpec
JsSpecs.arrayOfLong
(int minLength, int maxLength) Returns a specification for an array of long numbers with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfLongSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of long numbers that satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfNumber()
non-nullable array of numbers specstatic JsArraySpec
JsSpecs.arrayOfNumber
(int minLength, int maxLength) Returns a specification for an array of numbers with a specified minimum and maximum length.static JsArraySpec
JsSpecs.arrayOfNumber
(Predicate<JsNumber> predicate) Returns a specification for a 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) Returns a specification for a non-nullable array of numbers, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfNumberSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of numbers, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfObj()
non-nullable array of objects specstatic JsArraySpec
JsSpecs.arrayOfObj
(int minLength, int maxLength) Returns a specification for an array of objects with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfObjSpec
(JsObjSpec spec) Returns a required and non-nullable specification for an array of objects that conform to the given object specification.static JsArraySpec
JsSpecs.arrayOfObjSpec
(JsObjSpec spec, int minLength, int maxLength) Returns a required and non-nullable specification for an array of objects that conform to the given object specification.static JsArraySpec
JsSpecs.arrayOfObjSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of objects that satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfStr()
non-nullable array of strings specstatic JsArraySpec
JsSpecs.arrayOfStr
(int minLength, int maxLength) Returns a specification for an array of strings with a specified minimum and maximum length.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
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.static JsArraySpec
JsSpecs.arraySuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array that satisfies the given predicate.Constructors in jsonvalues.spec with parameters of type JsArraySpecModifierConstructorDescriptionJsArraySpecParser
(JsArraySpec spec) Creates a JSON array parser based on the provided JSON array specification (spec).