Print the characters that start a JSON document to outputStream.

Synopsis

Declared in <baljsn_encodeimplutil.h>

static
void
openDocument(
    std::ostream* outputStream,
    EncoderOptions const& options);

Description

Print the sequence of characters that designate the start of a JSON document to the specified outputStream according to the specified encoding options. See baljsn_encoderoptions for a description of the effects, if any, of each option in the options on the start of a JSON document.

Parameters

Name

Description

outputStream

stream that receives the document‐start characters

options

encoding options controlling document start

Created with MrDocs