Constructors, type class instances, and other utilities for JsonNumber.
- Companion:
- class
- Source:
- JsonNumber.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Concrete methods
Return a JsonNumber
whose value is the valid JSON number in value
.
Return a JsonNumber
whose value is the valid JSON number in value
.
- Note:
This value is ''not'' verified to be a valid JSON string. It is assumed that
value
is a valid JSON number, according to the JSON specification. If the value is invalid the behavior is undefined. This operation is provided for use in situations where the validity of the input has already been verified.- Source:
- JsonNumber.scala
Return a JsonNumber
whose value is the valid integral JSON number in value
.
Return a JsonNumber
whose value is the valid integral JSON number in value
.
- Note:
This value is ''not'' verified to be a valid JSON string. It is assumed that
value
is a valid JSON number, according to the JSON specification. If the value is invalid the behavior is undefined. This operation is provided for use in situations where the validity of the input has already been verified.- Source:
- JsonNumber.scala