5.0.0
See also:
- this Wiki page on how to update your code to be compatible with this release.
- The full Changelog.
Summary:
- The library is now thread safe.
- Split
json_module
into multiple files. - Added new
initialize()
,failed()
,print_error_message()
,check_to_errors()
, andclear_exceptions()
to thejson_file
class. - The number of spaces for indenting can now be user specified.
- Updates for Visual Studio project .
- Added a
validate()
method for validating JSON linked lists. - Added some additional error checks for malformed JSON linked lists.
- Added a new routine
is_child_of
to check if onejson_value
is a descendant of another. - Added new options for case-insensitive searching of names/paths, as well as the option to consider trailing space significant.
- Added a routine to enable swapping of elements in a
json_value
linked list. - Rename parameters
RK
,IK
,LK
,CK
, andCDK
using less generic names (json_RK
,json_IK
,json_LK
,json_CK
, andjson_CDK
). - Calling the
initialize()
method (which is now injson_core
andjson_file
) is no longer mandatory. - Added a
rename()
method for renaming ajson_value
variable. - Added some compiler directives so that workarounds for Gfortran bugs are not used for other compilers.
- Added option for strict typing for
get
routines. - Various cosmetic changes and renaming of some of the dummy arguments in some procedures.
- Added checks to avoid unnecessary looping when traversing arrays if an exception is thrown.
- Added a new
get_child
method to get the first child. - Added some additional error checks for unassociated pointers.
- Ensure null pointers are returned for some error cases.
- Fixed a bug in the
traverse()
routine, where thefinished
output flag was not being correctly checked.