JNum

org.typelevel.jawn.ast.JNum$
See theJNum companion class
object JNum

Attributes

Companion
class
Source
JValue.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JNum.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

final def apply(n: Long): JNum

Create a JNum from a Long.

Create a JNum from a Long.

This is identical to calling the LongNum(_) constructor.

Attributes

Source
JValue.scala
final def apply(n: Double): JNum

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
final def apply(s: String): JNum

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
final def hybridEq(x: Long, y: Double): Boolean

Attributes

Source
JValue.scala

Concrete fields

final val one: JNum

Attributes

Source
JValue.scala
final val zero: JNum

Attributes

Source
JValue.scala