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 DecimalSchemaDecimalSchema.between(BigDecimal minimum, BigDecimal maximum) Creates a DecimalSchema with both minimum and maximum constraints.static DecimalSchemaDecimalSchema.withMaximum(BigDecimal maximum) Creates a DecimalSchema with a maximum constraint.static DecimalSchemaDecimalSchema.withMinimum(BigDecimal minimum) Creates a DecimalSchema with a minimum constraint.Methods in jsonvalues.spec with parameters of type DecimalSchemaModifier and TypeMethodDescriptionstatic JsArraySpecJsSpecs.arrayOfDec(DecimalSchema schema) non-nullable array of big decimal numbers.static JsArraySpecJsSpecs.arrayOfDec(DecimalSchema schema, ArraySchema arraySchema) static JsSpecJsSpecs.decimal(DecimalSchema schema) Returns a specification for a non-nullable decimal number that satisfies the given schemastatic JsSpecJsSpecs.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.