| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(json_value), | intent(in), | optional | pointer | :: | p |
|
| logical(kind=LK), | intent(in), | optional | :: | verbose | mainly useful for debugging (default is false) |
|
| logical(kind=LK), | intent(in), | optional | :: | compact_reals | to compact the real number strings for output (default is true) |
|
| logical(kind=LK), | intent(in), | optional | :: | print_signs | always print numeric sign (default is false) |
|
| character(kind=CDK,len=*), | intent(in), | optional | :: | real_format | Real number format: 'E' [default], '*', 'G', 'EN', or 'ES' |
|
| integer(kind=IK), | intent(in), | optional | :: | spaces_per_tab | number of spaces per tab for indenting (default is 2) |
|
| logical(kind=LK), | intent(in), | optional | :: | strict_type_checking | if true, no integer, double, or logical type
conversions are done for the |
|
| logical(kind=LK), | intent(in), | optional | :: | trailing_spaces_significant | for name and path comparisons, is trailing space to be considered significant. |
|
| logical(kind=LK), | intent(in), | optional | :: | case_sensitive_keys | for name and path comparisons, are they case sensitive. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(json_value), | intent(in), | pointer | :: | json_value_object | ||
| type(json_core), | intent(in) | :: | json_core_object |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| logical(kind=LK), | intent(in), | optional | :: | verbose | mainly useful for debugging (default is false) |
|
| logical(kind=LK), | intent(in), | optional | :: | compact_reals | to compact the real number strings for output (default is true) |
|
| logical(kind=LK), | intent(in), | optional | :: | print_signs | always print numeric sign (default is false) |
|
| character(kind=CDK,len=*), | intent(in), | optional | :: | real_format | Real number format: 'E' [default], '*', 'G', 'EN', or 'ES' |
|
| integer(kind=IK), | intent(in), | optional | :: | spaces_per_tab | number of spaces per tab for indenting (default is 2) |
|
| logical(kind=LK), | intent(in), | optional | :: | strict_type_checking | if true, no integer, double, or logical type
conversions are done for the |
|
| logical(kind=LK), | intent(in), | optional | :: | trailing_spaces_significant | for name and path comparisons, is trailing space to be considered significant. |
|
| logical(kind=LK), | intent(in), | optional | :: | case_sensitive_keys | for name and path comparisons, are they case sensitive. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CDK,len=*), | intent(in) | :: | filename | the filename to open |
||
| integer(kind=IK), | intent(in), | optional | :: | unit | the unit number to use (if not present, a newunit is used) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | str | string to load JSON data from |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | path to the variable |
||
| logical(kind=LK), | intent(out) | :: | found | the variable exists in the structure |
||
| integer(kind=IK), | intent(out) | :: | var_type | variable type |
||
| integer(kind=IK), | intent(out) | :: | n_children | number of children |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(in) | :: | me |
will be true if there has been an error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| integer, | intent(in), | optional | :: | io_unit |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| logical(kind=LK), | intent(out) | :: | status_ok | true if there were no errors |
||
| character(kind=CK,len=:), | intent(out), | allocatable | :: | error_msg | the error message (if there were errors) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=:), | intent(out), | allocatable | :: | str | string to print JSON data to |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| integer(kind=IK), | intent(in) | :: | iunit | file unit number (must not be -1) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CDK,len=*), | intent(in) | :: | filename | filename to print to |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| type(json_value), | intent(out), | pointer | :: | p | pointer to the variable |
|
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| integer(kind=IK), | intent(out) | :: | val | value |
||
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| real(kind=RK), | intent(out) | :: | val | |||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| logical(kind=LK), | intent(out) | :: | val | |||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| character(kind=CK,len=:), | intent(out), | allocatable | :: | val | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| integer(kind=IK), | intent(out), | dimension(:), allocatable | :: | vec | the value vector |
|
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| real(kind=RK), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| logical(kind=LK), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| character(kind=CK,len=*), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| type(json_value), | intent(out), | pointer | :: | p | pointer to the variable |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| integer(kind=IK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| logical(kind=LK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| real(kind=RK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| character(kind=CK,len=*), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | str | string to load JSON data from |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | path to the variable |
||
| logical(kind=LK), | intent(out) | :: | found | the variable exists in the structure |
||
| integer(kind=IK), | intent(out) | :: | var_type | variable type |
||
| integer(kind=IK), | intent(out) | :: | n_children | number of children |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| type(json_value), | intent(out), | pointer | :: | p | pointer to the variable |
|
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| integer(kind=IK), | intent(out) | :: | val | value |
||
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| real(kind=RK), | intent(out) | :: | val | |||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| logical(kind=LK), | intent(out) | :: | val | |||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| character(kind=CK,len=:), | intent(out), | allocatable | :: | val | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
| integer(kind=IK), | intent(out), | dimension(:), allocatable | :: | vec | the value vector |
|
| logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| real(kind=RK), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| logical(kind=LK), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | path | |||
| character(kind=CK,len=*), | intent(out), | dimension(:), allocatable | :: | vec | ||
| logical(kind=LK), | intent(out), | optional | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| type(json_value), | intent(out), | pointer | :: | p | pointer to the variable |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| integer(kind=IK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| logical(kind=LK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| real(kind=RK), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CK,len=*), | intent(in) | :: | name | |||
| character(kind=CK,len=*), | intent(in) | :: | val | |||
| logical(kind=LK), | intent(out) | :: | found |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| integer(kind=IK), | intent(in) | :: | iunit | file unit number (must not be -1) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_file), | intent(inout) | :: | me | |||
| character(kind=CDK,len=*), | intent(in) | :: | filename | filename to print to |