![]() |
ucx
UAP Common Extensions
|
The JSON writer settings. More...
#include <json.h>
Data Fields | |
bool | pretty |
Set true to enable pretty output. | |
bool | sort_members |
Set false to output the members in the order in which they were added. | |
uint8_t | frac_max_digits |
The maximum number of fractional digits in a number value. | |
bool | indent_space |
Set true to use spaces instead of tab characters. | |
uint8_t | indent |
If indent_space is true, this is the number of spaces per tab. | |
bool | escape_slash |
Set true to enable escaping of the slash character (solidus). | |
The JSON writer settings.
uint8_t cx_json_writer_s::frac_max_digits |
The maximum number of fractional digits in a number value.
The default value is 6 and values larger than 15 are reduced to 15. Note, that the actual number of digits may be lower, depending on the concrete number.
uint8_t cx_json_writer_s::indent |
If indent_space
is true, this is the number of spaces per tab.
Indentation is only used in pretty output.
bool cx_json_writer_s::indent_space |
Set true to use spaces instead of tab characters.
Indentation is only used in pretty output.