Package com.jsoniter.any
Class ObjectAny
- java.lang.Object
-
- com.jsoniter.any.Any
-
- com.jsoniter.any.ObjectAny
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectAny.IteratorAdapter-
Nested classes/interfaces inherited from class com.jsoniter.any.Any
Any.EntryIterator
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,Any>val-
Fields inherited from class com.jsoniter.any.Any
EMPTY_ENTRIES_ITERATOR, EMPTY_ITERATOR, EMPTY_KEYS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Any.EntryIteratorentries()Anyget(java.lang.Object key)Anyget(java.lang.Object[] keys, int idx)java.lang.Objectobject()java.math.BigDecimaltoBigDecimal()java.math.BigIntegertoBigInteger()booleantoBoolean()doubletoDouble()floattoFloat()inttoInt()longtoLong()java.lang.StringtoString()ValueTypevalueType()voidwriteTo(JsonStream stream)-
Methods inherited from class com.jsoniter.any.Any
as, as, as, as, asList, asMap, bindTo, bindTo, bindTo, bindTo, equals, get, 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
-
val
private final java.util.Map<java.lang.String,Any> val
-
-
Constructor Detail
-
ObjectAny
public ObjectAny(java.util.Map<java.lang.String,Any> val)
-
-
Method Detail
-
writeTo
public void writeTo(JsonStream stream) throws java.io.IOException
-
toBigInteger
public java.math.BigInteger toBigInteger()
- Specified by:
toBigIntegerin classAny
-
toBigDecimal
public java.math.BigDecimal toBigDecimal()
- Specified by:
toBigDecimalin classAny
-
entries
public Any.EntryIterator entries()
-
-