Package de.marhali.json5
Class Json5Null
- java.lang.Object
-
- de.marhali.json5.Json5Element
-
- de.marhali.json5.Json5Null
-
public final class Json5Null extends Json5Element
A class representing a Jsonnullliteral value.
-
-
Field Summary
-
Fields inherited from class de.marhali.json5.Json5Element
comment
-
-
Constructor Summary
Constructors Constructor Description Json5Null()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json5ElementdeepCopy()Returns a deep copy of this element.java.lang.StringgetAsString()Convenience method to get this element as a string value.-
Methods inherited from class de.marhali.json5.Json5Element
equals, getAsBigDecimal, getAsBigInteger, getAsBinaryString, getAsBoolean, getAsByte, getAsDouble, getAsFloat, getAsHexString, getAsInstant, getAsInt, getAsJson5Array, getAsJson5Null, getAsJson5Object, getAsJson5Primitive, getAsLong, getAsNumber, getAsOctalString, getAsRadixNumber, getAsShort, getComment, hasComment, hashCode, isJson5Array, isJson5Null, isJson5Object, isJson5Primitive, setComment, toString, toString
-
-
-
-
Method Detail
-
deepCopy
public Json5Element deepCopy()
Description copied from class:Json5ElementReturns a deep copy of this element.- Specified by:
deepCopyin classJson5Element- Returns:
- Deep copy
-
getAsString
public java.lang.String getAsString()
Description copied from class:Json5ElementConvenience method to get this element as a string value.- Overrides:
getAsStringin classJson5Element- Returns:
- this element as a string value.
-
-