Number

zio.blocks.schema.json.Json.Number
See theNumber companion class
object Number

Attributes

Companion
class
Source
Json.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Number.type

Members list

Type members

Inherited and Abstract 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

def apply(value: Int): Number

Creates a JSON number from an Int.

Creates a JSON number from an Int.

Attributes

Source
Json.scala
def apply(value: Long): Number

Creates a JSON number from a Long.

Creates a JSON number from a Long.

Attributes

Source
Json.scala
def apply(value: Float): Number

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
def apply(value: Double): Number

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
def apply(value: BigDecimal): Number

Creates a JSON number from a BigDecimal.

Creates a JSON number from a BigDecimal.

Attributes

Source
Json.scala
def apply(value: BigInt): Number

Creates a JSON number from a BigInt.

Creates a JSON number from a BigInt.

Attributes

Source
Json.scala
def apply(value: Byte): Number

Creates a JSON number from a Byte.

Creates a JSON number from a Byte.

Attributes

Source
Json.scala
def apply(value: Short): Number

Creates a JSON number from a Short.

Creates a JSON number from a Short.

Attributes

Source
Json.scala