-
- All Implemented Interfaces:
-
kotlin.collections.Map
public final class YsonObject extends YsonValue implements Map<String, YsonValue>
-
-
Field Summary
Fields Modifier and Type Field Description private BooleancaseLessprivate final LinkedHashMap<String, YsonValue>dataprivate final BooleanisCollectionprivate final Set<Entry.Map<String, YsonValue>>entriesprivate final Set<String>keysprivate final Integersizeprivate final Collection<YsonValue>values
-
Constructor Summary
Constructors Constructor Description YsonObject(Integer capcity)YsonObject(String json)YsonObject(LinkedHashMap<String, YsonValue> data)
-
Method Summary
-
Methods inherited from class dev.entao.web.json.YsonValue
isCollection, yson -
Methods inherited from class kotlin.collections.Map
containsKey, containsValue, forEach, get, getEntries, getKeys, getOrDefault, getSize, getValues, isEmpty -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
YsonObject
YsonObject(Integer capcity)
-
YsonObject
YsonObject(String json)
-
YsonObject
YsonObject(LinkedHashMap<String, YsonValue> data)
-
-
Method Detail
-
getCaseLess
final Boolean getCaseLess()
-
setCaseLess
final Unit setCaseLess(Boolean caseLess)
-
getData
final LinkedHashMap<String, YsonValue> getData()
-
yson
Unit yson(StringBuilder buf)
-
preferBufferSize
Integer preferBufferSize()
-
gather
final ArrayList<KMutableProperty<?>> gather(Function0<Unit> block)
-
removeProperty
final Unit removeProperty(KProperty<?> p)
-
putObject
final Unit putObject(String key, YsonObject value)
-
putObject
final Unit putObject(String key, Function1<YsonObject, Unit> block)
-
getObject
final YsonObject getObject(String key)
-
TO
final Unit TO(String $self, YsonObject value)
-
unaryPlus
final Unit unaryPlus(KProperty0<?> $self)
-
-
-
-