BloombergLP::ball::RecordJsonFormatter::setJsonFormat

Set the message format specification (see {`Record Format Specification`}) of this record JSON formatter to the specified JSON-syntax format. Return 0 on success, and a non-zero value otherwise (if format is not valid JSON or not a JSON conforming to the expected schema). Note that this is the method used by the json:// scheme.

Synopsis

Declared in <ball_recordjsonformatter.h>

int
setJsonFormat(std::string_view const& format);