zio.blocks.schema.json.Json.Number
See theNumber companion class
object Number
Attributes
- Companion
- class
- Source
- Json.scala
- Graph
-
- Supertypes
- Self type
-
Number.type
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Creates a JSON number from an Int.
Creates a JSON number from a Long.
Creates a JSON number from a Float.
Creates a JSON number from a Float.
Attributes
- Throws
-
java.lang.IllegalArgumentException
in cases of NaN of infinity values
- Source
- Json.scala
Creates a JSON number from a Double.
Creates a JSON number from a Double.
Attributes
- Throws
-
java.lang.IllegalArgumentException
in cases of NaN of infinity values
- Source
- Json.scala
Creates a JSON number from a BigDecimal.
Creates a JSON number from a BigInt.
Creates a JSON number from a Byte.
Creates a JSON number from a Short.
In this article