Print the characters that end a JSON document to outputStream.

Synopsis

Declared in <baljsn_encodeimplutil.h>

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

Description

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

Parameters

Name

Description

outputStream

stream that receives the document‐end characters

options

encoding options controlling document end

Created with MrDocs