Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorFsLoader::JsonEnvelope Struct Reference

Result of a successful envelope validation. More...

#include <phosphor-fsloader/include/PhosphorFsLoader/JsonEnvelopeValidator.h>

Public Attributes

QString name
 
QJsonObject root
 

Detailed Description

Result of a successful envelope validation.

name is the validated "name" field (non-empty, matches the filename's completeBaseName). root is the parsed JSON object with the "name" field already removed — sinks can pass it straight to a schema-specific fromJson that doesn't need to know about the envelope's bookkeeping fields.

Member Data Documentation

◆ name

QString PhosphorFsLoader::JsonEnvelope::name

◆ root

QJsonObject PhosphorFsLoader::JsonEnvelope::root

The documentation for this struct was generated from the following file: