Configure a "qjson"-scheme formatter and load it into output.
Declared in <ball_recordjsonformatter.h>
static
int
loadQjsonSchemeFormatter(
RecordFormatterFunctor::Type* output,
std::string_view const& format,
RecordFormatterOptions const& formatOptions);
This class method configures a formatter for the "qjson" scheme using the specified format and formatOptions and if successful loads it into the specified output and returns zero. In case configuration fails a non-zero value is returned and output is not modified.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| output | destination for the configured formatter |
| format | simplified (qjson) format specification |
| formatOptions | supplemental formatter options |