java.lang.Object
net.luis.utils.io.data.json.JsonNull
- All Implemented Interfaces:
JsonElement
Represents a json null value.
This class is a singleton.
This class is a singleton.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()@NotNull StringtoString(@Nullable JsonConfig config) Returns a string representation of this json element based on the given json config.
The json config specifies how the json element should be formatted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.luis.utils.io.data.json.JsonElement
getAsJsonArray, getAsJsonObject, getAsJsonPrimitive, isJsonArray, isJsonNull, isJsonObject, isJsonPrimitive
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
JsonNull
private JsonNull()
-
-
Method Details
-
toString
-
toString
Description copied from interface:JsonElementReturns a string representation of this json element based on the given json config.
The json config specifies how the json element should be formatted.- Specified by:
toStringin interfaceJsonElement- Parameters:
config- The json config to use- Returns:
- The string representation of this json element
-