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 JsArraySpecJsSpecs.array()non-nullable json arraystatic JsArraySpecReturns a specification for a non-nullable array, where each element of the array satisfies the given predicate.static JsArraySpecJsSpecs.arrayOfBigInt()non-nullable array of integral numbersstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfBigInt(ArraySchema arraySchema) non-nullable array of big integer numbers.static JsArraySpecJsSpecs.arrayOfBigInt(BigIntSchema schema) non-nullable array of big integer numbers.static JsArraySpecJsSpecs.arrayOfBigInt(BigIntSchema schema, ArraySchema arraySchema) non-nullable array of big integer numbers.static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfBool()non-nullable array of booleansstatic JsArraySpecJsSpecs.arrayOfBool(ArraySchema schema) Returns a specification for an array of booleans with a specified minimum and maximum length.static JsArraySpecJsSpecs.arrayOfBoolSuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of booleans that satisfies the given predicate.static JsArraySpecJsSpecs.arrayOfDec()non-nullable array of decimal numbersstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfDec(ArraySchema arraySchema) non-nullable array of big decimal numbers.static JsArraySpecJsSpecs.arrayOfDec(DecimalSchema schema) non-nullable array of big decimal numbers.static JsArraySpecJsSpecs.arrayOfDec(DecimalSchema schema, ArraySchema arraySchema) static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfDouble()non-nullable array of double numbersstatic JsArraySpecJsSpecs.arrayOfDouble(DoublePredicate predicate, ArraySchema arraySchema) non-nullable array of decimal numbers.static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfDouble(ArraySchema arraySchema) non-nullable array of double numbers.static JsArraySpecJsSpecs.arrayOfDouble(DoubleSchema schema) non-nullable array of double numbers.static JsArraySpecJsSpecs.arrayOfDouble(DoubleSchema schema, ArraySchema arraySchema) non-nullable array of double numbers.static JsArraySpecJsSpecs.arrayOfDoubleSuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of double that satisfies the given predicate.static JsArraySpecJsSpecs.arrayOfInt()non-nullable array of integer numbersstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfInt(ArraySchema schema) non-nullable array of integer numbers.static JsArraySpecJsSpecs.arrayOfInt(IntegerSchema schema) non-nullable array of integer numbers.static JsArraySpecJsSpecs.arrayOfInt(IntegerSchema schema, ArraySchema arraySchema) non-nullable array of integer numbers.static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfLong()non-nullable array of long numbersstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfLong(ArraySchema schema) Returns a specification for an array of long numbers with a specified minimum and maximum length.static JsArraySpecJsSpecs.arrayOfLong(LongSchema schema) non-nullable array of long numbers.static JsArraySpecJsSpecs.arrayOfLong(LongSchema schema, ArraySchema arraySchema) non-nullable array of long numbers.static JsArraySpecJsSpecs.arrayOfLongSuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of long numbers that satisfies the given predicate.static JsArraySpecJsSpecs.arrayOfObj()non-nullable array of objectsstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfObj(ArraySchema arraySchema) non-nullable array of objects.static JsArraySpecJsSpecs.arrayOfObjSuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of objects that satisfies the given predicate.static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfStr()non-nullable array of stringsstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfStr(ArraySchema arraySchema) Returns a specification for an array of strings with a specified minimum and maximum length.static JsArraySpecJsSpecs.arrayOfStr(StrSchema schema) Returns a specification for a non-nullable array of strings, where each element of the array satisfies the given schema.static JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.arrayOfStrSuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array of strings that satisfies the given predicate.static JsArraySpecJsSpecs.arraySuchThat(Predicate<JsArray> predicate) Returns a specification for a non-nullable array that satisfies the given predicate.static JsArraySpecReturns 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 JsObjSpecToJsonSchema.convert(JsArraySpec jsArraySpec) Converts a JsArraySpec to a JSON schema (JsObj).