Interface JsonNumberValue

All Superinterfaces:
JsonElement<Number>, de.espirit.firstspirit.json.JsonOutput

@NonExtendable @Experimental public interface JsonNumberValue extends JsonElement<Number>
A value class for representing a numeric value in JSON. CAUTION: This class is still in development and may change drastically without any further notice.
Since:
5.2.191206
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static @NotNull JsonNumberValue
    of(@NotNull Number value)
    Returns a new json element wrapping the given value.

    Methods inherited from interface de.espirit.firstspirit.json.JsonElement

    getValue

    Methods inherited from interface de.espirit.firstspirit.json.JsonOutput

    json, writeTo