Uses of Class
jsonvalues.JsNumber
Packages that use JsNumber
Package
Description
The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation) data in a type-safe and structured manner.
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications (specs) and parsers.
-
Uses of JsNumber in jsonvalues
Subclasses of JsNumber in jsonvaluesModifier and TypeClassDescriptionfinal classRepresents an immutable JSON number of type BigDecimal.final classRepresents an immutable JSON number of type BigInteger.final classRepresents an immutable JSON number of type double.final classRepresents an immutable JSON number of type integer.final classRepresents an immutable JSON number of type long.Methods in jsonvalues that return JsNumberModifier and TypeMethodDescriptiondefault JsNumberJsValue.toJsNumber()Returns this JsValue as a JsStr. -
Uses of JsNumber in jsonvalues.spec
Method parameters in jsonvalues.spec with type arguments of type JsNumberModifier and TypeMethodDescriptionstatic JsArraySpecJsSpecs.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 JsArraySpecJsSpecs.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 JsSpecReturns a specification for a non-nullable number, where the number satisfies the given predicate.