Skip to content
jacobwilliams edited this page Jun 21, 2014 · 11 revisions

json-fortran is a JSON API written in modern Fortran. See the main page for more details.

According to the JSON standard (ECMA-404):

JSON is a lightweight, text-based, language-independent data interchange format. It was derived from the ECMAScript programming language, but is programming language independent. JSON defines a small set of structuring rules for the portable representation of structured data.

Fortran users may find JSON quite useful as a configuration file format. Typically, large and complicated Fortran codes (say, in the fields of climate modeling or trajectory optimization) require data to be read from configuration files. JSON has many advantages over a roll-your-own file format, or a Fortran namelist, namely:

  • It's a standard.
  • It's human-readable and human-editable.
  • API's exist for many other programming languages.
Clone this wiki locally