Interface JsonBooleanValue
- All Superinterfaces:
JsonElement<Boolean>,de.espirit.firstspirit.json.JsonOutput
A value class for representing a boolean value in JSON.
- Since:
- 5.2.191206
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @NotNull JsonBooleanValueof(boolean value) Returns 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- Returns:
- a new
json element - Since:
- 5.2.191206
-