Struct qt_json_rs::QJSONDocument[][src]

pub struct QJSONDocument {
    pub tag: u32,
    pub version: u32,
    pub base: JsonBaseValue,
}
Expand description

A QJSONDocument is the root of every parsed JSOn Document. It consists out of metadata and a base

Fields

tag: u32

This will be “qbjs” encoded in an u32

version: u32

The QBJS Version. This needs to be 1

base: JsonBaseValue

The Base element of the document. It muse either be an Array or an Object

Implementations

Parses a binary VEC into a QJSONDocument

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.