pub struct QJsonObject { /* private fields */ }Expand description
The QJsonObject class encapsulates a JSON object.
Qt Documentation: QJsonObject
Implementations§
Source§impl QJsonObject
impl QJsonObject
Sourcepub fn value(&self, key: &QString) -> QJsonValue
pub fn value(&self, key: &QString) -> QJsonValue
Returns the value for key, or an undefined [QJsonValue] if the key is absent.
Sourcepub fn keys(&self) -> QStringList
pub fn keys(&self) -> QStringList
Returns all keys in the object.
Source§impl QJsonObject
impl QJsonObject
Trait Implementations§
Source§impl Clone for QJsonObject
impl Clone for QJsonObject
Source§impl Debug for QJsonObject
impl Debug for QJsonObject
Source§impl Default for QJsonObject
impl Default for QJsonObject
Source§impl Drop for QJsonObject
impl Drop for QJsonObject
Source§impl ExternType for QJsonObject
impl ExternType for QJsonObject
Source§impl From<&QJsonObject> for QJsonValue
impl From<&QJsonObject> for QJsonValue
Source§fn from(value: &QJsonObject) -> Self
fn from(value: &QJsonObject) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QJsonObject
impl PartialEq for QJsonObject
Source§impl QVariantValue for QJsonObject
impl QVariantValue for QJsonObject
Auto Trait Implementations§
impl Freeze for QJsonObject
impl RefUnwindSafe for QJsonObject
impl Send for QJsonObject
impl Sync for QJsonObject
impl Unpin for QJsonObject
impl UnsafeUnpin for QJsonObject
impl UnwindSafe for QJsonObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more