JsonInt

fm.json.JsonInt
See theJsonInt companion object
final case class JsonInt(value: Int) extends JsonInteger

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class JsonValue
class JsonNode
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def asBigDecimal: BigDecimal

Attributes

Definition Classes
override def asBigInteger: BigInteger

Attributes

Definition Classes
override def asNumber: Number

Attributes

Definition Classes
override def asString: String

Attributes

Definition Classes
override def isInt: Boolean

Can this value be converted to an int?

Can this value be converted to an int?

Attributes

Definition Classes
override def isLong: Boolean

Can this value be converted to an long?

Can this value be converted to an long?

Attributes

Definition Classes
override def isZero: Boolean

Is this number zero?

Is this number zero?

Attributes

Definition Classes
override def numberType: NumberType

Attributes

Definition Classes
override def toInt: Int

Convert this value to an int throwing an exception if exact conversion is not possible

Convert this value to an int throwing an exception if exact conversion is not possible

Attributes

Definition Classes
override def toIntOption: Option[Int]

Optionally convert this value to an int

Optionally convert this value to an int

Attributes

Definition Classes
override def toLong: Long

Convert this value to an long throwing an exception if exact conversion is not possible

Convert this value to an long throwing an exception if exact conversion is not possible

Attributes

Definition Classes
override def toLongOption: Option[Long]

Optionally convert this value to an long

Optionally convert this value to an long

Attributes

Definition Classes
override def write(gen: JsonGenerator, options: JsonOptions): Unit

Attributes

Definition Classes

Inherited methods

final override def asToken: JsonToken

Attributes

Definition Classes
Inherited from:
JsonInteger
final def at(ptr: JsonPointer): Option[JsonNode]

Attributes

Inherited from:
JsonNode
final def at(jsonPointerExpression: String): Option[JsonNode]

Attributes

Inherited from:
JsonNode
def isBigInteger: Boolean

Can this value be converted to an bigInteger?

Can this value be converted to an bigInteger?

Attributes

Inherited from:
JsonNumber
def isDouble: Boolean

Can this value be converted to an double?

Can this value be converted to an double?

Attributes

Inherited from:
JsonNumber
def isFloat: Boolean

Can this value be converted to an float?

Can this value be converted to an float?

Attributes

Inherited from:
JsonNumber
override def isJsonArray: Boolean

Attributes

Definition Classes
Inherited from:
JsonValue
override def isJsonContainer: Boolean

Attributes

Definition Classes
Inherited from:
JsonValue
def isJsonNull: Boolean

Attributes

Inherited from:
JsonNode
override def isJsonObject: Boolean

Attributes

Definition Classes
Inherited from:
JsonValue
override def isJsonValue: Boolean

Attributes

Definition Classes
Inherited from:
JsonValue
final def isNotZero: Boolean

Attributes

Inherited from:
JsonNumber
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def toBigInteger: BigInteger

Convert this value to an bigInteger throwing an exception if exact conversion is not possible

Convert this value to an bigInteger throwing an exception if exact conversion is not possible

Attributes

Inherited from:
JsonNumber
def toBigIntegerOption: Option[BigInteger]

Optionally convert this value to an bigInteger

Optionally convert this value to an bigInteger

Attributes

Inherited from:
JsonNumber
final def toCompactJson(): String

Attributes

Inherited from:
JsonNode
def toDouble: Double

Convert this value to an double throwing an exception if exact conversion is not possible

Convert this value to an double throwing an exception if exact conversion is not possible

Attributes

Inherited from:
JsonNumber
def toDoubleOption: Option[Double]

Optionally convert this value to an double

Optionally convert this value to an double

Attributes

Inherited from:
JsonNumber
def toFloat: Float

Convert this value to an float throwing an exception if exact conversion is not possible

Convert this value to an float throwing an exception if exact conversion is not possible

Attributes

Inherited from:
JsonNumber
def toFloatOption: Option[Float]

Optionally convert this value to an float

Optionally convert this value to an float

Attributes

Inherited from:
JsonNumber
final def toJson(options: JsonOptions): String

Attributes

Inherited from:
JsonNode
final def toJson(pretty: Boolean): String

Attributes

Inherited from:
JsonNode
final def toJsonNode(options: JsonOptions): JsonNode

Attributes

Inherited from:
JsonNode
final def toJsonWithoutNulls(): String

Attributes

Inherited from:
JsonNode
final def toPrettyJson(): String

Attributes

Inherited from:
JsonNode
final def toPrettyJsonWithoutNulls(): String

Attributes

Inherited from:
JsonNode
final override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
JsonNode -> Any
Inherited from:
JsonNode
final def write(gen: JsonGenerator): Unit

Attributes

Inherited from:
JsonNode