8#ifndef INCLUDED_BALJSN_ENCODINGSTYLE
9#define INCLUDED_BALJSN_ENCODINGSTYLE
50#include <balscm_version.h>
60#include <bsl_iosfwd.h>
61#include <bsl_ostream.h>
62#include <bsl_string.h>
63#include <bsl_string_view.h>
122 static bsl::ostream&
print(bsl::ostream& stream,
Value value);
155 static_cast<int>(
string.length()));
171 bsl::ostream& stream,
Definition bslstl_stringview.h:441
#define BDLAT_DECL_ENUMERATION_TRAITS(ClassName)
Definition bdlat_typetraits.h:293
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition baljsn_datumdecoderoptions.h:113
bsl::ostream & operator<<(bsl::ostream &stream, const DatumDecoderOptions &rhs)
Enumeration of encoding style (COMPACT or PRETTY).
Definition baljsn_encodingstyle.h:74
static int fromString(Value *result, const char *string, int stringLength)
Value
Definition baljsn_encodingstyle.h:78
@ e_COMPACT
Definition baljsn_encodingstyle.h:79
@ e_PRETTY
Definition baljsn_encodingstyle.h:80
static bsl::ostream & print(bsl::ostream &stream, Value value)
Definition baljsn_encodingstyle.h:159
static int fromInt(Value *result, int number)
static const bdlat_EnumeratorInfo ENUMERATOR_INFO_ARRAY[]
Definition baljsn_encodingstyle.h:90
static const char CLASS_NAME[]
Definition baljsn_encodingstyle.h:88
static const char * toString(Value value)
@ NUM_ENUMERATORS
Definition baljsn_encodingstyle.h:84
Definition bdlat_enumeratorinfo.h:97