Print the characters that start a JSON document to outputStream.
Declared in <baljsn_encodeimplutil.h>
static
void
openDocument(
std::ostream* outputStream,
EncoderOptions const& options);
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.
| Name | Description |
|---|---|
| outputStream | stream that receives the document-start characters |
| options | encoding options controlling document start |