Print the start‐of‐element designator for name onto the stream.

Synopsis

Declared in <baljsn_encoder.h>

int
openElement(bsl::string const& name);

Description

Print onto the stream supplied at construction the sequence of characters designating the start of an element having the specified name. Return 0 on success and a non‐zero value otherwise.

Return Value

0 on success and a non‐zero value otherwise

Parameters

Name

Description

name

name of the element being opened

Created with MrDocs