Object/Class

io.circe

JsonNumber

Related Docs: class JsonNumber | package circe

Permalink

object JsonNumber extends Serializable

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

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonNumber
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. val JsonNumberRegex: Regex

    Permalink

    A regular expression that can match a valid JSON number.

    A regular expression that can match a valid JSON number.

    This has four match groups:

    1. The optional negative sign. 2. The integer part. 3. The fractional part without the leading period. 4. The exponent part without the leading 'e', but with an optional leading '+' or '-'.

    The negative sign, fractional part and exponent part are optional matches and may be null.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  8. implicit val eqJsonNumber: Eq[JsonNumber]

    Permalink
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromString(value: String): Option[JsonNumber]

    Permalink

    Parse a JSON number from a String.

    Parse a JSON number from a String.

    A string is valid if it conforms to the grammar in section 2.4 of the JSON specification. If it is valid, then the number is returned in a Some. Otherwise the number is invalid and None is returned.

    value

    a JSON number encoded as a string

    returns

    a JSON number if the string is valid

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def unsafeDecimal(value: String): JsonNumber

    Permalink

    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.

  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped