json-fortran
json-fortran copied to clipboard
A Modern Fortran JSON API
This creates a `#json-fortran` target, allowing the "top" links and the ToC link in the readme to work properly.
Looks like `json-fortran` is now packaged for Fedora, see https://bugzilla.redhat.com/show_bug.cgi?id=2089880.
Consider adding a `null_to_integer_mode` for integers (similar to the one for reals). See: #517
See the discussions [here](https://fortran-lang.discourse.group/t/a-new-json-library/2197/46) and [here](https://fortran-lang.discourse.group/t/faster-string-to-double/2208/40). There is a lot of room for improvement in the string to real parsing (which is currently using `read(fmt=*)` which is apparently quite slow....
C API
Consider adding a C API to make it easier to create/get/set json_value linked lists from other programming languages.
Matrices
Add `get` routines for getting matrices (integer, real, etc.) from json files and objects. This could be used, for example, to easily get a variable like: ``` json { "matrix":...
What is the expected ABI compatibility of json-fortran versions? The soversions sets `major.minor`, however the full version number is included in the install path, which disallows to use the `major.minor`...
Note: the CI is currently only testing Gfortran 7, 8, 9, 10. There are various "hacks" in the code to deal with bugs in earlier Gfortran compilers (the library used...