ConfigDB::ExportOptions Struct Reference

Options for streaming object output. More...

#include <Format.h>

Collaboration diagram for ConfigDB::ExportOptions:

Public Attributes

bool useName {false}
 Include the object name in output. More...
 
bool asObject {false}
 Wrap everything as an object definition. More...
 
bool pretty {false}
 Set compact (default) or prettified output. More...
 

Detailed Description

Options for streaming object output.

Member Data Documentation

◆ asObject

bool ConfigDB::ExportOptions::asObject {false}

Wrap everything as an object definition.

For JSON, this adds outer braces.

◆ pretty

bool ConfigDB::ExportOptions::pretty {false}

Set compact (default) or prettified output.

◆ useName

bool ConfigDB::ExportOptions::useName {false}

Include the object name in output.


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