Much faster Minify and Prettify
Important
The old glz::prettify and glz::minify functions are now deprecated. Instead use the new glz::prettify_json and glz::minify_json.
In most cases you can just replace glz::prettify with glz::prettify_json in your code. If you used a custom indentation width this is supported through the optional template parameter with glz::opts.
- The new prettify method is over three times faster than the old one
- The function names have been changed to support prettifying other formats in glaze
glz::optsas an optional template argument is now supported, changing formatting options to compile time- A compile time option
new_lines_in_arraysturns off and on new line prettification in JSON arrays.
Full Changelog: v2.4.5...v2.5.0