github stephenberry/glaze v2.5.0
2.5.0

latest releases: v8.3.0, v8.2.0, v8.1.0...
2 years ago

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::opts as an optional template argument is now supported, changing formatting options to compile time
  • A compile time option new_lines_in_arrays turns off and on new line prettification in JSON arrays.

Full Changelog: v2.4.5...v2.5.0

Don't miss a new glaze release

NewReleases is sending notifications on new releases.