Json Fortran Versions Save

A Modern Fortran JSON API

8.4.0

2 months ago

See also

Summary

  • Fixed a bug where the library would not compile if using REAL128 kind 🐞
  • Fixes to GitHub Actions CI
  • Minor updates for readme and documentation
  • Updates for unit tests

8.3.0

2 years ago

See also

Summary

  • Added procedure to query version of json-fortran.
  • Updates to the CI.
  • Add information on conda-forge distribution to the Readme.
  • Updated CMake to export include directories with target.
  • Fixed a minor standards violation 🐞
  • Minor changes to work around issues with nvfortran compiler 🐞

8.2.5

2 years ago

See also

Summary

  • Enabled some extra warnings in the Visual Studio Debug project
  • Removed obsolete forall construct from unit test 12
  • Fixed a potential uninitialized variable issue in get_current_line_from_file_stream 🐞
  • Fixed a memory leak when parsing an invalid JSON 🐞
  • Fixed various memory issues in the unit tests 🐞

8.2.4

2 years ago

See also

Summary

  • Added MultiProcessorCompilation="true" to the Visual Studio project file.
  • Fixed a memory leak when deserializing an empty list. 🐞
  • Fixed a memory leak when cloning a JSON pointer. 🐞
  • Fixed a bug where some error messages would attempt to print unallocated name values. 🐞
  • Documentation updates.

8.2.3

2 years ago

See also

Summary

  • No code changes. Only documentation updates.

8.2.2

2 years ago

See also

Summary

  • Added support for the Fortran Package Manger.
  • Updated CI to use GitHub Actions, including auto-deployment of documentation.
  • Eliminated some compiler warnings about real conversions.
  • Fixed a bug in test case 47. 🐞

8.2.1

3 years ago

See also

Summary

  • Bug fix in json_value_remove: the parent and previous pointers should also be nullified when removing from an array. 🐞
  • Fixed a couple compiler warnings when using the latest Intel Fortran compiler.
  • replaced -std15 with -std18 for the Intel compiler in the FoBiS build file.
  • Updated the Visual Studio test project with some missing test cases.

8.2.0

3 years ago

See also

Summary

  • Updated the compress_vectors option so that now vectors of mixed integers and reals are also compressed.

8.1.0

3 years ago

See also

Summary

  • Added a json_file = string assignment operator.
  • Added optional "default" argument to json_get_*_by_path routines.
  • Added support for multiple comment characters. The default is now to recognize any of #!/ as comment lines.
  • Added recursive attribute to json_get_array.
  • Updated readme to document the cmake build instructions.
  • Fixed bug in json_get_path. 🐞

8.0.0

4 years ago

See also

Summary

  • Cleanup of the API for reading and writing JSON. The main methods are now called print, load, serialize and deserialize. Note that the previous ones are still present for backward compatibility.
  • Added a finalizer to the json_file type.
  • Added new optional arguments (null_to_real_mode, non_normal_mode, use_quiet_nan) to the initialize routines to handle NaN and Infinity.
  • Added a new optional argument (strict_integer_type_checking) to the initialize routines. If enabled, when parsing an integer value, if the parsing fails (e.g., the integer is outside the range of the integer kind), it will then attempt to convert it to a real.
  • json_info will now check for exceptions and raise one if the pointer is not associated.
  • Allow the parser to work with some nonstandard real value representations (leading +, no leading digit before decimal, D/d format).
  • Added a character string to json_file assignment operator.
  • Added a json_print_to_console method to json_core to match the one in json_file.
  • The output array is now deallocated if an exception occurs in a json_get_*_vec routine.
  • Updated CMake to enable building JSON-Fortran as a subdirectory of another project.
  • Updated CMake for compatibility with older versions < 3.7.
  • Allow linking to JSON-Fortran from GFortran programs using OpenCoarrays as the coarray runtime implementation. Use the -DJSON_FORTRAN_USE_OpenCoarrays:BOOL=ON option to CMake to enable this. (NOTE: The fact that this is required may be a bug in GFortran.)
  • Updated the CI system to Travis-CI.com. Expanded and compilers tested, and migrated test setup/teardown to fixtures.
  • Fixed a crash in json_file_check_for_errors if the error_msg was not present. 🐞
  • Fixed a potential issue with real to integer conversion when the library is compiled with a non-default integer kind. 🐞
  • Fixed a dangling pointer in unit test 10. 🐞