Skip to content
Discussion options

You must be logged in to vote

It is now, on master. I've added an indent_char property to json_options, you can now set the option to indent by one tab by configuring options as

auto options = json_options{}
    .indent_char('\t')
    .indent_size(1);

and passing them to encode and dump functions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sarahlydia9868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants