JsonNumber

grapple.json.JsonNumber
See theJsonNumber companion trait
object JsonNumber

Provides JSON number factory.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JsonNumber.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
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(value: String): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

Throws
NumberFormatException

if value is invalid numeric representation

def apply(value: Int): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

def apply(value: Long): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

def apply(value: Double): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

def apply(value: BigInt): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

def apply(value: BigDecimal): JsonNumber

Creates JSON number.

Creates JSON number.

Attributes

def unapply(json: JsonNumber): Option[BigDecimal]

Deconstructs JSON number.

Deconstructs JSON number.

Attributes