Interface JsonNumberValue
- All Superinterfaces:
JsonElement<Number>,de.espirit.firstspirit.json.JsonOutput
A value class for representing a numeric value in JSON.
- Since:
- 5.2.191206
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @NotNull JsonNumberValueReturns a newjson elementwrapping the givenvalue.Methods inherited from interface de.espirit.firstspirit.json.JsonElement
getValueMethods inherited from interface de.espirit.firstspirit.json.JsonOutput
json, writeTo
-
Method Details
-
of
Returns a newjson elementwrapping the givenvalue.- Parameters:
value- thevalueto wrap (must not benull)- Returns:
- a new
json element - Since:
- 5.2.191206
-