Interface JsonNumberValue
- All Superinterfaces:
JsonElement<Number>
,de.espirit.firstspirit.json.JsonOutput
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
Modifier and TypeMethodDescriptionstatic @NotNull JsonNumberValue
Returns a newjson element
wrapping the givenvalue
.Methods inherited from interface de.espirit.firstspirit.json.JsonElement
getValue
Methods inherited from interface de.espirit.firstspirit.json.JsonOutput
json, writeTo
-
Method Details
-
of
Returns a newjson element
wrapping the givenvalue
.- Parameters:
value
- thevalue
to wrap (must not benull
)- Returns:
- a new
json element
- Since:
- 5.2.191206
-