https://github.com/nncarlson/yajl-fort
YAJL-Fort: A modern Fortran interface to the YAJL library
https://github.com/nncarlson/yajl-fort
fortran json yajl
Last synced: 5 months ago
JSON representation
YAJL-Fort: A modern Fortran interface to the YAJL library
- Host: GitHub
- URL: https://github.com/nncarlson/yajl-fort
- Owner: nncarlson
- License: mit
- Created: 2015-09-19T15:47:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-09-30T17:28:37.000Z (10 months ago)
- Last Synced: 2025-09-30T19:18:02.860Z (10 months ago)
- Topics: fortran, json, yajl
- Language: Fortran
- Homepage:
- Size: 289 KB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
YAJL-Fort: A Modern Fortran Interface to YAJL
=============================================
The YAJL-Fort package provides a modern object-oriented Fortran interface to
the [YAJL](http://lloyd.github.com/yajl/) C library, which is an event-driven
parser for JSON data streams. [JSON](http://www.json.org/) is an open standard
data interchange format. It is lightweight, easy for humans to read and write,
and language independent.
Note that unlike most other JSON libraries, YAJL does not provide or impose
an in-memory data structure representation of the JSON data. That is left to
higher-level application code through custom parsing event callback functions.
Also included in YAJL-Fort is a module that defines data structures for
representing arbitrary JSON data, and procedures built on the YAJL interface
for populating the data structures with JSON data read from a file or string.
Documentation for building and using YAJL-Fort is at
[ReadTheDocs](http://yajl-fort.readthedocs.io/)
The code should compile with any compiler that supports the Fortran 2018
standard; NAG nagfor, Intel oneAPI ifx, gfortran, LLVM flang are all known
to work, for example.