Class/Object

fm.json

JsonDouble

Related Docs: object JsonDouble | package json

Permalink

final case class JsonDouble(value: Double) extends JsonFloatingPoint with Product with Serializable

Note: JsonNode.parse will parse all floating point numbers into BigDecimal but this can be used for explicit doubles

Linear Supertypes
Product, Equals, JsonFloatingPoint, JsonNumber, JsonValue, JsonNode, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonDouble
  2. Product
  3. Equals
  4. JsonFloatingPoint
  5. JsonNumber
  6. JsonValue
  7. JsonNode
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonDouble(value: Double)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def asBigDecimal: BigDecimal

    Permalink
    Definition Classes
    JsonDoubleJsonNumber
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asNumber: Number

    Permalink
    Definition Classes
    JsonDoubleJsonNumber
  7. def asString: String

    Permalink
    Definition Classes
    JsonDoubleJsonValue
  8. final def asToken: JsonToken

    Permalink
    Definition Classes
    JsonFloatingPointJsonNode
  9. final def at(ptr: JsonPointer): Option[JsonNode]

    Permalink
    Definition Classes
    JsonNode
  10. final def at(jsonPointerExpression: String): Option[JsonNode]

    Permalink
    Definition Classes
    JsonNode
  11. def atImpl(ptr: JsonPointer): Option[JsonNode]

    Permalink
    Attributes
    protected
    Definition Classes
    JsonValueJsonNode
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def isBigInteger: Boolean

    Permalink

    Can this value be converted to an bigInteger?

    Can this value be converted to an bigInteger?

    Definition Classes
    JsonNumber
  16. def isDouble: Boolean

    Permalink

    Can this value be converted to an double?

    Can this value be converted to an double?

    Definition Classes
    JsonDoubleJsonNumber
  17. def isFloat: Boolean

    Permalink

    Can this value be converted to an float?

    Can this value be converted to an float?

    Definition Classes
    JsonDoubleJsonNumber
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isInt: Boolean

    Permalink

    Can this value be converted to an int?

    Can this value be converted to an int?

    Definition Classes
    JsonNumber
  20. def isJsonArray: Boolean

    Permalink
    Definition Classes
    JsonValueJsonNode
  21. def isJsonContainer: Boolean

    Permalink
    Definition Classes
    JsonValueJsonNode
  22. def isJsonNull: Boolean

    Permalink
    Definition Classes
    JsonNode
  23. def isJsonObject: Boolean

    Permalink
    Definition Classes
    JsonValueJsonNode
  24. def isJsonValue: Boolean

    Permalink
    Definition Classes
    JsonValueJsonNode
  25. def isLong: Boolean

    Permalink

    Can this value be converted to an long?

    Can this value be converted to an long?

    Definition Classes
    JsonNumber
  26. final def isNotZero: Boolean

    Permalink
    Definition Classes
    JsonNumber
  27. def isZero: Boolean

    Permalink

    Is this number zero?

    Is this number zero?

    Definition Classes
    JsonDoubleJsonNumber
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. def numberType: NumberType

    Permalink
    Definition Classes
    JsonDoubleJsonNumber
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toBigInteger: BigInteger

    Permalink

    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

    Definition Classes
    JsonNumber
  34. def toBigIntegerOption: Option[BigInteger]

    Permalink

    Optionally convert this value to an bigInteger

    Optionally convert this value to an bigInteger

    Definition Classes
    JsonNumber
  35. final def toCompactJson(): String

    Permalink
    Definition Classes
    JsonNode
  36. def toDouble: Double

    Permalink

    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

    Definition Classes
    JsonDoubleJsonNumber
  37. def toDoubleOption: Option[Double]

    Permalink

    Optionally convert this value to an double

    Optionally convert this value to an double

    Definition Classes
    JsonDoubleJsonNumber
  38. def toFloat: Float

    Permalink

    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

    Definition Classes
    JsonDoubleJsonNumber
  39. def toFloatOption: Option[Float]

    Permalink

    Optionally convert this value to an float

    Optionally convert this value to an float

    Definition Classes
    JsonDoubleJsonNumber
  40. def toInt: Int

    Permalink

    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

    Definition Classes
    JsonNumber
  41. def toIntOption: Option[Int]

    Permalink

    Optionally convert this value to an int

    Optionally convert this value to an int

    Definition Classes
    JsonNumber
  42. final def toJson(options: JsonOptions): String

    Permalink
    Definition Classes
    JsonNode
  43. final def toJson(pretty: Boolean): String

    Permalink
    Definition Classes
    JsonNode
  44. final def toJsonNode(options: JsonOptions): JsonNode

    Permalink
    Definition Classes
    JsonNode
  45. final def toJsonWithoutNulls(): String

    Permalink
    Definition Classes
    JsonNode
  46. def toLong: Long

    Permalink

    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

    Definition Classes
    JsonNumber
  47. def toLongOption: Option[Long]

    Permalink

    Optionally convert this value to an long

    Optionally convert this value to an long

    Definition Classes
    JsonNumber
  48. final def toPrettyJson(): String

    Permalink
    Definition Classes
    JsonNode
  49. final def toPrettyJsonWithoutNulls(): String

    Permalink
    Definition Classes
    JsonNode
  50. final def toString(): String

    Permalink
    Definition Classes
    JsonNode → AnyRef → Any
  51. val value: Double

    Permalink
  52. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def write(gen: JsonGenerator, options: JsonOptions): Unit

    Permalink
    Definition Classes
    JsonDoubleJsonNode
  56. final def write(gen: JsonGenerator): Unit

    Permalink
    Definition Classes
    JsonNode

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from JsonFloatingPoint

Inherited from JsonNumber

Inherited from JsonValue

Inherited from JsonNode

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped