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 json arraystatic 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 numbersstatic 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, ArraySchema arraySchema) 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
(ArraySchema arraySchema) non-nullable array of big integer numbers.static JsArraySpec
JsSpecs.arrayOfBigInt
(BigIntSchema schema) non-nullable array of big integer numbers.static JsArraySpec
JsSpecs.arrayOfBigInt
(BigIntSchema schema, ArraySchema arraySchema) non-nullable array of big integer numbers.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 booleansstatic JsArraySpec
JsSpecs.arrayOfBool
(ArraySchema schema) 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 numbersstatic 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, ArraySchema arraySchema) 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
(ArraySchema arraySchema) non-nullable array of big decimal numbers.static JsArraySpec
JsSpecs.arrayOfDec
(DecimalSchema schema) non-nullable array of big decimal numbers.static JsArraySpec
JsSpecs.arrayOfDec
(DecimalSchema schema, ArraySchema arraySchema) 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.arrayOfDouble()
non-nullable array of double numbersstatic JsArraySpec
JsSpecs.arrayOfDouble
(DoublePredicate predicate, ArraySchema arraySchema) non-nullable array of decimal numbers.static JsArraySpec
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.static JsArraySpec
JsSpecs.arrayOfDouble
(ArraySchema arraySchema) non-nullable array of double numbers.static JsArraySpec
JsSpecs.arrayOfDouble
(DoubleSchema schema) non-nullable array of double numbers.static JsArraySpec
JsSpecs.arrayOfDouble
(DoubleSchema schema, ArraySchema arraySchema) non-nullable array of double numbers.static JsArraySpec
JsSpecs.arrayOfDoubleSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of double that satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfInt()
non-nullable array of integer numbersstatic 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, ArraySchema arraySchema) 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
(ArraySchema schema) non-nullable array of integer numbers.static JsArraySpec
JsSpecs.arrayOfInt
(IntegerSchema schema) non-nullable array of integer numbers.static JsArraySpec
JsSpecs.arrayOfInt
(IntegerSchema schema, ArraySchema arraySchema) non-nullable array of integer numbers.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 numbersstatic 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, ArraySchema schema) 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
(ArraySchema schema) Returns a specification for an array of long numbers with a specified minimum and maximum length.static JsArraySpec
JsSpecs.arrayOfLong
(LongSchema schema) non-nullable array of long numbers.static JsArraySpec
JsSpecs.arrayOfLong
(LongSchema schema, ArraySchema arraySchema) non-nullable array of long numbers.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.arrayOfObj()
non-nullable array of objectsstatic 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, ArraySchema arraySchema) Returns a specification for a non-nullable array of objects, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfObj
(ArraySchema arraySchema) non-nullable array of objects.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.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.static JsArraySpec
JsSpecs.arrayOfSpec
(JsSpec spec, ArraySchema arraySchema) 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.static JsArraySpec
JsSpecs.arrayOfStr()
non-nullable array of stringsstatic 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, ArraySchema arraySchema) Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given predicate.static JsArraySpec
JsSpecs.arrayOfStr
(ArraySchema arraySchema) Returns a specification for an array of strings with a specified minimum and maximum length.static JsArraySpec
JsSpecs.arrayOfStr
(StrSchema schema) Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given schema.static JsArraySpec
JsSpecs.arrayOfStr
(StrSchema elemSchema, ArraySchema arraySchema) Returns a specification for an array of strings with a specified minimum and maximum length, and each element conforming to the given element schema.static JsArraySpec
JsSpecs.arrayOfStrSuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of strings that satisfies the given predicate.static JsArraySpec
JsSpecs.arraySuchThat
(Predicate<JsArray> predicate) Returns a specification for a non-nullable array that satisfies the given predicate.static JsArraySpec
Returns a tuple specification where each nth element of the tuple is specified by the nth given spec.Methods in jsonvalues.spec with parameters of type JsArraySpecModifier and TypeMethodDescriptionstatic JsObj
SpecToJsonSchema.convert
(JsArraySpec jsArraySpec) Converts a JsArraySpec to a JSON schema (JsObj).