java.lang.Object
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 TypeMethodDescriptionclone()
protected final QSequentialConstIterator<QJsonValue>
protected final QSequentialConstIterator<QJsonValue>
constEnd()
final boolean
final long
count()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QJsonObject
fromVariantHash
(Map<String, ? extends Object> map) static QJsonObject
int
hashCode()
final boolean
isEmpty()
iterator()
final QStringList
keys()
final long
length()
void
readFrom
(QDataStream arg__1) final void
final void
setValue
(String key, QJsonValue value) final long
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
-
constBegin
-
constEnd
-
constFind
-
contains
-
count
-
erase
@QtUninvokable public final QSequentialConstIterator<QJsonValue> erase(QSequentialConstIterator<QJsonValue> it) -
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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-