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 jsonvalues
    Modifier and Type
    Class
    Description
    final 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 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
    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.
    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
    JsSpecs.number(Predicate<JsNumber> predicate)
    Returns a specification for a non-nullable number, where the number satisfies the given predicate.