Package com.github.tnakamot.json.value
Class JSONValueStructured
- java.lang.Object
-
- com.github.tnakamot.json.value.JSONValue
-
- com.github.tnakamot.json.value.JSONValueStructured
-
- Direct Known Subclasses:
JSONValueArray
,JSONValueObject
public abstract class JSONValueStructured extends JSONValue
Represents one JSON structured value.Instances of this class are immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable JSONToken
begin()
The beginning token of this structured value.@Nullable JSONToken
end()
The end token of this structured value.-
Methods inherited from class com.github.tnakamot.json.value.JSONValue
toTokenBytes, toTokenBytes, toTokenString, toTokenString, type
-
-
-
-
Method Detail
-
begin
@Nullable public @Nullable JSONToken begin()
The beginning token of this structured value.- Returns:
- the beginning token of this structured value. Can be null if this JSON value is not originated from an existing JSON text.
-
end
@Nullable public @Nullable JSONToken end()
The end token of this structured value.- Returns:
- the end token of this structured value. Can be null if this JSON value is not originated from an existing JSON text.
-
-