18 namespace json_details {
20 inline constexpr
bool is_output_option_v =
false;
23 inline constexpr
bool is_output_option_v<options::SerializationFormat> =
27 inline constexpr
unsigned
28 json_option_bits_width<options::SerializationFormat> = 1;
32 default_json_option_value<options::SerializationFormat> =
33 options::SerializationFormat::Minified;
36 inline constexpr
bool is_output_option_v<options::IndentationType> =
true;
39 inline constexpr
unsigned
40 json_option_bits_width<options::IndentationType> = 3;
44 default_json_option_value<options::IndentationType> =
45 options::IndentationType::Space2;
49 is_output_option_v<options::RestrictedStringOutput> =
true;
52 inline constexpr
unsigned
53 json_option_bits_width<options::RestrictedStringOutput> = 2;
57 default_json_option_value<options::RestrictedStringOutput> =
58 options::RestrictedStringOutput::ErrorInvalidUTF8;
61 inline constexpr
bool is_output_option_v<options::NewLineDelimiter> =
65 inline constexpr
unsigned
66 json_option_bits_width<options::NewLineDelimiter> = 1;
70 default_json_option_value<options::NewLineDelimiter> =
71 options::NewLineDelimiter::n;
74 inline constexpr
bool is_output_option_v<options::OutputTrailingComma> =
78 inline constexpr
unsigned
79 json_option_bits_width<options::OutputTrailingComma> = 1;
83 default_json_option_value<options::OutputTrailingComma> =
84 options::OutputTrailingComma::No;
Customization point traits.
#define DAW_JSON_VER
The version string used in namespace definitions. Must be a valid namespace name.