java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QJsonObject
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QJsonValue>
Encapsulates a JSON object
Java wrapper for Qt's class QJsonObject
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQJsonObject
(QJsonObject other) QJsonObject
(QPair<String, ? extends QJsonValue>... args) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final QIterator<QJsonValue>
begin()
clone()
final boolean
final int
count()
protected final QIterator<QJsonValue>
end()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QIterator<QJsonValue>
static QJsonObject
fromVariantHash
(Map<String, ? extends Object> map) static QJsonObject
int
hashCode()
final boolean
isEmpty()
iterator()
final QStringList
keys()
final int
length()
void
readFrom
(QDataStream arg__1) final void
final void
setValue
(String key, QJsonValue value) final int
size()
final void
swap
(QJsonObject other) final QJsonValue
toString()
final QJsonValue
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QJsonObject
public QJsonObject() -
QJsonObject
-
QJsonObject
-
QJsonObject
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
begin
-
contains
-
count
-
end
-
find
-
isEmpty
-
keys
-
length
-
writeTo
-
readFrom
-
setValue
-
remove
-
size
-
swap
-
take
-
toVariantHash
-
toVariantMap
-
value
-
fromVariantHash
-
iterator
- Specified by:
iterator
in interfaceIterable<QJsonValue>
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-