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 class
Represents an immutable JSON number of type BigDecimal.final class
Represents an immutable JSON number of type BigInteger.final class
Represents an immutable JSON number of type double.final class
Represents an immutable JSON number of type integer.final class
Represents an immutable JSON number of type long.Methods in jsonvalues that return JsNumberModifier and TypeMethodDescriptiondefault JsNumber
JsValue.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 JsArraySpec
JsSpecs.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 JsArraySpec
JsSpecs.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 JsSpec
Returns a specification for a non-nullable number, where the number satisfies the given predicate.