org.typelevel.jawn.ast.JNum$
See theJNum companion class
object JNum
Attributes
- Companion
- class
- Source
- JValue.scala
- Graph
-
- Supertypes
- Self type
-
JNum.type
Members list
Type members
Inherited types
The names of the product elements
The name of the type
Value members
Concrete methods
Create a JNum from a Long.
Create a JNum from a Long.
This is identical to calling the LongNum(_) constructor.
Attributes
- Source
- JValue.scala
Create a JNum from a Double.
Create a JNum from a Double.
This factory constructor performs some error-checking (ensures that the given value is a finite Double). If you have already done this error-checking, you can use the DoubleNum() or DeferNum() constructors directly.
Attributes
- Source
- JValue.scala
Create a JNum from a String.
Create a JNum from a String.
This factory constructor validates the string (essentially, parsing it as a JSON value). If you are already sure this string is a valid JSON number, you can use the DeferLong() or DeferNum() constructors directly.
Attributes
- Source
- JValue.scala
Attributes
- Source
- JValue.scala
In this article