A Modern Fortran JSON (JavaScript Object Notation) API.
This module provides access to json_value_module and json_file_module. For normal JSON-Fortran use, using this module is all that is necessary.
Note that this module renames the kind definition variables from json_kinds
from [RK
, IK
, LK
, CK
, and CDK
] to [json_RK
, json_IK
, json_LK
,
json_CK
, and json_CDK
] so as to avoid namespace pollution with short
variable names.
Since USE_UCS4
is defined, this module also exports the
operators ==
, /=
, and //
from json_string_utilities for
CK
and CDK
operations.
Note
Originally JSON-Fortran was entirely contained within this module.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(kind=json_CK, len=*), | private, | parameter | :: | version | = | '8.4.0' |
JSON-Fortran version. Note This string should match the one in the |
Returns the JSON-Fortran version string.
JSON-Fortran version string