Just wanted to mention that I have forked the FSON code and significantly rewritten/improved it. It can be found at: https://github.com/jacobwilliams/json-fortran. It fixes many of the bugs found in FSON (memory leaks, not being able to read certain numerical values, not handling escape characters in strings, etc.). Check it out if you are interested. Note that the new code requires a Fortran compiler that supports some Fortran 2003/2008 features (I'm using ifort).
I think all the bugs mentioned above have been fixed now in fson- in case your compiler doesn't support all the Fortran 2003/2008 features needed by json-fortran.
Just wanted to mention that I have forked the FSON code and significantly rewritten/improved it. It can be found at: https://github.com/jacobwilliams/json-fortran. It fixes many of the bugs found in FSON (memory leaks, not being able to read certain numerical values, not handling escape characters in strings, etc.). Check it out if you are interested. Note that the new code requires a Fortran compiler that supports some Fortran 2003/2008 features (I'm using ifort).