- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QJsonValue>
Encapsulates a JSON object
Java wrapper for Qt class QJsonObject
-
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 long
count()
final boolean
equals
(QJsonObject other) 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
Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
insert
(String key, QJsonArray value) Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
insert
(String key, QJsonObject value) Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
insert
(String key, QJsonValue value) final QJsonObject
insert
(String key, QJsonValue.Type value) Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final QJsonObject
Overloaded function forinsert(java.lang.String, io.qt.core.QJsonValue)
.final boolean
isEmpty()
iterator()
Returns an iterator for this iterable object.final QStringList
keys()
final long
length()
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QJsonObject&) final void
final void
Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
set
(String key, QJsonArray value) Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
set
(String key, QJsonObject value) Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
set
(String key, QJsonValue value) SeeQJsonObject::
operator[](QStringView) final void
set
(String key, QJsonValue.Type value) Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
Overloaded function forset(java.lang.String, io.qt.core.QJsonValue)
.final void
Deprecated.final void
Deprecated.Useset(java.lang.String, double)
instead.final void
Deprecated.Useset(java.lang.String, int)
instead.final void
Deprecated.Useset(java.lang.String, long)
instead.final void
setValue
(String key, QJsonArray value) Deprecated.Useset(java.lang.String, io.qt.core.QJsonArray)
instead.final void
setValue
(String key, QJsonObject value) Deprecated.Useset(java.lang.String, io.qt.core.QJsonObject)
instead.final void
setValue
(String key, QJsonValue value) Deprecated.Useset(java.lang.String, io.qt.core.QJsonValue)
instead.final void
setValue
(String key, QJsonValue.Type value) Deprecated.Useset(java.lang.String, io.qt.core.QJsonValue.Type)
instead.final void
Deprecated.Useset(java.lang.String, java.lang.String)
instead.final long
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
-
equals
-
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.
-
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(java.lang.String, io.qt.core.QJsonValue)
. -
setValue
Deprecated.Useset(java.lang.String, io.qt.core.QJsonValue)
instead. -
setValue
Deprecated.Useset(java.lang.String, io.qt.core.QJsonValue.Type)
instead. -
setValue
Deprecated.Useset(java.lang.String, boolean)
instead. -
setValue
Deprecated.Useset(java.lang.String, double)
instead. -
setValue
Deprecated.Useset(java.lang.String, int)
instead. -
setValue
Deprecated.Useset(java.lang.String, long)
instead. -
setValue
Deprecated.Useset(java.lang.String, java.lang.String)
instead. -
setValue
Deprecated.Useset(java.lang.String, io.qt.core.QJsonArray)
instead. -
setValue
Deprecated.Useset(java.lang.String, io.qt.core.QJsonObject)
instead. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(java.lang.String, io.qt.core.QJsonValue)
.
-
set(java.lang.String, boolean)
instead.