Skip to content

9.0.0

Compare
Choose a tag to compare
@jacobwilliams jacobwilliams released this 12 Jun 02:54
· 8 commits to master since this release

See also

Summary

  • By default, the JSON pointer in json_file is now destroyed before loading. This is to prevent a memory leak if the type is used later to load another file. Also added a new option destroy_pointer to the json_file load routines, which can be set to False to get the old behavior (not to destroy it).
  • Added add a new nullify_pointer option to the json_file constructor (default is True)
  • Updates for the CI and unit tests. Now testing with FPM, and running all tests with valgrind to check for memory leaks.
  • Added an optional allow_trailing_comma argument to the initialize routines (default is True). If set to False, this disallows extra trailing commas in arrays and objects.