Package com.jsoniter.any
Class NotFoundAny
- java.lang.Object
-
- com.jsoniter.any.Any
-
- com.jsoniter.any.NotFoundAny
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jsoniter.any.Any
Any.EntryIterator
-
-
Field Summary
Fields Modifier and Type Field Description protected JsonException
exception
-
Fields inherited from class com.jsoniter.any.Any
EMPTY_ENTRIES_ITERATOR, EMPTY_ITERATOR, EMPTY_KEYS
-
-
Constructor Summary
Constructors Constructor Description NotFoundAny(int index, java.lang.Object obj)
NotFoundAny(java.lang.Object[] keys, int idx, java.lang.Object obj)
NotFoundAny(java.lang.Object key, java.lang.Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Any
get(int index)
Any
get(java.lang.Object key)
Any
get(java.lang.Object[] keys, int idx)
java.lang.Object
object()
java.math.BigDecimal
toBigDecimal()
java.math.BigInteger
toBigInteger()
boolean
toBoolean()
double
toDouble()
float
toFloat()
int
toInt()
long
toLong()
java.lang.String
toString()
ValueType
valueType()
void
writeTo(JsonStream stream)
-
Methods inherited from class com.jsoniter.any.Any
as, as, as, as, asList, asMap, bindTo, bindTo, bindTo, bindTo, entries, equals, get, hashCode, isWildcard, iterator, keys, lazyArray, lazyDouble, lazyLong, lazyObject, lazyString, mustBeValid, object, registerEncoders, reportUnexpectedType, rewrap, rewrap, set, set, set, set, set, size, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInt, toLong, toString, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapArray, wrapNull
-
-
-
-
Field Detail
-
exception
protected final JsonException exception
-
-
Method Detail
-
writeTo
public void writeTo(JsonStream stream) throws java.io.IOException
-
toBigInteger
public java.math.BigInteger toBigInteger()
- Specified by:
toBigInteger
in classAny
-
toBigDecimal
public java.math.BigDecimal toBigDecimal()
- Specified by:
toBigDecimal
in classAny
-
-