BloombergLP::baljsn::Decoder_RequiredAttrsVisitor

This class provides a functor that finds and remembers all non-optional sequence attributes.

Synopsis

Declared in <baljsn_decoder.h>

struct Decoder_RequiredAttrsVisitor;

Member Functions

NameDescription
operator() Record the specified info for the specified value if the attribute is required. Return 0 on success and a non-zero value otherwise.

Data Members

NameDescription
d_requiredAttributes_p Set of required attribute names collected by this visitor (not owned).
d_usesDefaultValueFlag Flag indicating whether default values are in use.