JsonNumber

object JsonNumber

Constructors, type class instances, and other utilities for JsonNumber.

Companion:
class
Source:
JsonNumber.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

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

Implicits

Implicits

final implicit val eqJsonNumber: Eq[JsonNumber]