[#BloombergLP-ball-RecordJsonFormatter-loadJsonSchemeFormatter]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter]::loadJsonSchemeFormatter
:relfileprefix: ../../../
:mrdocs:

This class method configures a formatter for the &quot;json&quot; scheme using the specified `format` and `formatOptions` and if successful loads it into the specified `output` and returns zero&period; In case configuration fails a non&hyphen;zero value is returned and `output` is not modified&period;

== Synopsis

Declared in `&lt;ball&lowbar;recordjsonformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
loadJsonSchemeFormatter(
    xref:BloombergLP/ball/RecordFormatterFunctor/Type.adoc[RecordFormatterFunctor::Type]* output,
    std::string&lowbar;view const& format,
    xref:BloombergLP/ball/RecordFormatterOptions.adoc[RecordFormatterOptions] const& formatOptions);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
