java.lang.Object |
↳ |
com.atlassian.jira.entity.remotelink.LazyJsonParser.ReadOnlyJsonNode |
Class Overview
Provides the same functionality that a true JsonNode
would, except that
the nodes may not be cast to their original mutable types, thereby protecting the
JSON data against modification. To simplify this and prevent any confusion or the
need to implement any deprecated or irrelevant methods, this class intentionally
does not extend JsonNode
itself.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.lang.Iterable
void
|
forEach(Consumer<? super T> arg0)
|
Iterator<T>
|
iterator()
|
Spliterator<T>
|
spliterator()
|
|
Public Methods
public
boolean
asBoolean
(boolean defaultValue)
public
boolean
asBoolean
()
public
double
asDouble
()
public
double
asDouble
(double defaultValue)
public
int
asInt
(int defaultValue)
public
long
asLong
(long defaultValue)
public
String
asTextOrNull
()
This is like asText()
, but it will only return a value for text nodes
instead of attempting to coerce other value nodes, for which it will always return
null
.
public
JsonToken
asToken
()
public
boolean
equals
(Object o)
public
byte[]
getBinaryValue
()
public
boolean
getBooleanValue
()
public
double
getDoubleValue
()
public
int
getIntValue
()
public
long
getLongValue
()
public
JsonParser.NumberType
getNumberType
()
public
Number
getNumberValue
()
public
boolean
has
(String fieldName)
public
boolean
has
(int index)
public
boolean
isArray
()
public
boolean
isBigDecimal
()
public
boolean
isBigInteger
()
public
boolean
isBinary
()
public
boolean
isBoolean
()
public
boolean
isContainerNode
()
public
boolean
isDouble
()
public
boolean
isFloatingPointNumber
()
public
boolean
isIntegralNumber
()
public
boolean
isMissingNode
()
public
boolean
isNumber
()
public
boolean
isObject
()
public
boolean
isTextual
()
public
boolean
isValueNode
()
Parameters
fieldNames
| the field names to traverse
|