Uses of Class
jsonvalues.spec.DecimalSchema
Packages that use DecimalSchema
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications
(specs) and parsers.
-
Uses of DecimalSchema in jsonvalues.spec
Methods in jsonvalues.spec that return DecimalSchemaModifier and TypeMethodDescriptionstatic DecimalSchema
DecimalSchema.between
(BigDecimal minimum, BigDecimal maximum) Creates a DecimalSchema with both minimum and maximum constraints.static DecimalSchema
DecimalSchema.withMaximum
(BigDecimal maximum) Creates a DecimalSchema with a maximum constraint.static DecimalSchema
DecimalSchema.withMinimum
(BigDecimal minimum) Creates a DecimalSchema with a minimum constraint.Methods in jsonvalues.spec with parameters of type DecimalSchemaModifier and TypeMethodDescriptionstatic JsArraySpec
JsSpecs.arrayOfDec
(DecimalSchema schema) non-nullable array of big decimal numbers.static JsArraySpec
JsSpecs.arrayOfDec
(DecimalSchema schema, ArraySchema arraySchema) static JsSpec
JsSpecs.decimal
(DecimalSchema schema) Returns a specification for a non-nullable decimal number that satisfies the given schemastatic JsSpec
JsSpecs.mapOfDecimal
(DecimalSchema decimalSchema) Returns a specification that validates that the JSON is an object, and the value of each key is a decimal number that satisfies the given schema.