Uses of Class
jsonvalues.JsNumber
-
Packages that use JsNumber Package Description com.dslplatform.json jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.jsonvalues.spec -
-
Uses of JsNumber in com.dslplatform.json
Method parameters in com.dslplatform.json with type arguments of type JsNumber Modifier and Type Method Description JsSpecParser
JsSpecParsers. ofArrayOfNumberEachSuchThat(java.util.function.Function<JsNumber,java.util.Optional<JsError>> p, boolean nullable)
JsSpecParser
JsSpecParsers. ofNumberSuchThat(java.util.function.Function<JsNumber,java.util.Optional<JsError>> predicate, boolean nullable)
-
Uses of JsNumber in jsonvalues
Subclasses of JsNumber in jsonvalues Modifier and Type Class Description class
JsBigDec
Represents an immutable json number of type BigDecimal.class
JsBigInt
Represents an immutable json number of type BigInteger.class
JsDouble
Represents an immutable json number of type double.class
JsInt
Represents an immutable json number of type integer.class
JsLong
Represents an immutable json number of type long.Methods in jsonvalues that return JsNumber Modifier and Type Method Description default 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 JsNumber Modifier and Type Method Description static JsArraySpec
JsSpecs. arrayOfNumber(java.util.function.Predicate<JsNumber> predicate)
non-nullable array of numbers, where each element of the array satisfies the given predicatestatic JsSpec
JsSpecs. number(java.util.function.Predicate<JsNumber> predicate)
non-nullable number that satisfies the given predicate
-