- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Encapsulates a value in JSON
Java wrapper for Qt class QJsonValue
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQJsonValue(io.qt.core.QJsonValue.Type)
witharg__1 = io.qt.core.QJsonValue.Type.Null
.QJsonValue
(boolean b) QJsonValue
(double n) QJsonValue
(int n) QJsonValue
(long v) QJsonValue
(QJsonValue other) QJsonValue
(QJsonValue.Type arg__1) QJsonValue
(String s) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(boolean other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(double other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(int other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(long other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(QJsonArray other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(QJsonObject other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
assign
(QJsonValue other) final void
assign
(QJsonValue.Type other) Overloaded function forassign(io.qt.core.QJsonValue)
.final void
Overloaded function forassign(io.qt.core.QJsonValue)
.clone()
Creates and returns a copy of this object.final boolean
equals
(boolean other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(double other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(int other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(long other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(QJsonArray other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(QJsonObject other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
equals
(QJsonValue other) final boolean
equals
(QJsonValue.Type other) Overloaded function forequals(io.qt.core.QJsonValue)
.final boolean
Overloaded function forequals(io.qt.core.QJsonValue)
.boolean
static QJsonValue
fromVariant
(Object variant) final QJsonValue
get
(long i) final QJsonValue
final QJsonValue
getArrayValue
(long i) Delegate forget(long)
.final QJsonValue
getObjectValue
(String key) Delegate forget(java.lang.String)
.int
hashCode()
Returns the objects's hash code computed byqHash(QJsonValue)
.final boolean
isArray()
final boolean
isBool()
final boolean
isDouble()
final boolean
isNull()
final boolean
isObject()
final boolean
isString()
final boolean
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QJsonValue&) final void
swap
(QJsonValue other) final QJsonArray
toArray()
final QJsonArray
toArray
(QJsonArray defaultValue) final boolean
Overloaded function fortoBoolean(boolean)
withdefaultValue = false
.final boolean
toBoolean
(boolean defaultValue) final double
toDouble()
Overloaded function fortoDouble(double)
withdefaultValue = 0
.final double
toDouble
(double defaultValue) final int
toInt()
Overloaded function fortoInt(int)
withdefaultValue = 0
.final int
toInt
(int defaultValue) final long
Overloaded function fortoInteger(long)
withdefaultValue = 0
.final long
toInteger
(long defaultValue) final QJsonObject
toObject()
final QJsonObject
toObject
(QJsonObject defaultValue) final String
toString()
final String
final Object
final QJsonValue.Type
type()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QJsonValue
-
QJsonValue
-
QJsonValue
-
QJsonValue
-
QJsonValue
-
QJsonValue
public QJsonValue(boolean b) -
QJsonValue
public QJsonValue(double n) -
QJsonValue
public QJsonValue(int n) -
QJsonValue
public QJsonValue(long v) -
QJsonValue
public QJsonValue()Overloaded constructor for
QJsonValue(io.qt.core.QJsonValue.Type)
witharg__1 = io.qt.core.QJsonValue.Type.Null
.
-
-
Method Details
-
isArray
-
isBool
-
isDouble
-
isNull
-
isObject
-
isString
-
isUndefined
-
writeTo
-
assign
-
equals
-
readFrom
See
operator>>(QDataStream&,
QJsonValue&) -
get
-
get
-
swap
-
toArray
-
toArray
-
toBoolean
-
toDouble
-
toInt
-
toInteger
-
toObject
-
toObject
-
toString
-
toString
-
toVariant
-
type
-
fromVariant
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QJsonValue)
. -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
assign
Overloaded function for
assign(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
equals
Overloaded function for
equals(io.qt.core.QJsonValue)
. -
getObjectValue
Delegate for
get(java.lang.String)
. -
getArrayValue
Delegate for
get(long)
. -
toBoolean
Overloaded function for
toBoolean(boolean)
withdefaultValue = false
. -
toDouble
Overloaded function for
toDouble(double)
withdefaultValue = 0
. -
toInt
Overloaded function for
toInt(int)
withdefaultValue = 0
. -
toInteger
Overloaded function for
toInteger(long)
withdefaultValue = 0
.
-