You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. 🐞