Uses of Class
jsonvalues.JsNumber
Packages that use JsNumber
Package
Description
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
-
Uses of JsNumber in com.dslplatform.json
Method parameters in com.dslplatform.json with type arguments of type JsNumberModifier and TypeMethodDescriptionJsSpecParsers.ofArrayOfNumberEachSuchThat
(Function<JsNumber, Optional<JsError>> p, boolean nullable, int min, int max) JsSpecParsers.ofNumberSuchThat
(Function<JsNumber, Optional<JsError>> predicate, boolean nullable) -
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) non-nullable array of numbers, where each element of the array satisfies the given predicatestatic JsArraySpec
JsSpecs.arrayOfNumber
(Predicate<JsNumber> predicate, int minLength, int maxLength) non-nullable array of numbers, where each element of the array satisfies the given predicatestatic JsSpec
non-nullable number that satisfies the given predicate