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 class QJsonObject
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQJsonObject
(QJsonObject other) QJsonObject
(QPair<String, ? extends QJsonValue> ... args) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QJsonObject other) clone()
Creates and returns a copy of this object.protected final QSequentialConstIterator<QJsonValue>
protected final QSequentialConstIterator<QJsonValue>
constEnd()
final boolean
final int
count()
boolean
static QJsonObject
fromVariantHash
(Map<String, ? extends Object> map) static QJsonObject
final QJsonValue
int
hashCode()
Returns the objects's hash code computed byqHash(QJsonObject)
.final QJsonObject
insert
(String key, QJsonValue value) final boolean
isEmpty()
iterator()
Returns an iterator for this iterable object.final QStringList
keys()
final int
length()
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QJsonObject&) final void
final void
set
(String key, QJsonValue value) SeeQJsonObject::
operator[](QStringView) final void
setValue
(String key, QJsonValue value) Deprecated.final int
size()
final void
swap
(QJsonObject other) final QJsonValue
toString()
Seeoperator<<(QDebug,
QJsonObject) final QJsonValue
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QJsonObject) 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
-
-
Method Details
-
constBegin
-
constEnd
-
constFind
-
contains
-
count
-
erase
@QtUninvokable public final QSequentialConstIterator<QJsonValue> erase(QSequentialConstIterator<QJsonValue> it) -
find
-
insert
-
isEmpty
-
keys
-
length
-
writeTo
See
operator<<(QDataStream&,
QJsonObject) -
assign
-
readFrom
See
operator>>(QDataStream&,
QJsonObject&) -
get
-
set
See
QJsonObject::
operator[](QStringView) -
remove
-
size
-
swap
-
take
-
toVariantHash
-
toVariantMap
-
value
-
fromVariantHash
-
iterator
Returns an iterator for this iterable object.- Specified by:
iterator
in interfaceIterable<QJsonValue>
- See Also:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QJsonObject)
. -
toString
See
operator<<(QDebug,
QJsonObject) -
clone
Creates and returns a copy of this object.
-
setValue
Deprecated.Useset(java.lang.String, io.qt.core.QJsonValue)
instead.
-
set(java.lang.String, io.qt.core.QJsonValue)
instead.