Retrieves a parameter by name or throws an error.
More...
|
subroutine | json_get_real (json, name, value) |
| Retrieves a real parameter by name or throws an error.
|
|
subroutine | json_get_double (json, name, value) |
| Retrieves a double precision real parameter by name or throws an error.
|
|
subroutine | json_get_integer (json, name, value) |
| Retrieves an integer parameter by name or throws an error.
|
|
subroutine | json_get_logical (json, name, value) |
| Retrieves a logical parameter by name or throws an error.
|
|
subroutine | json_get_string (json, name, value) |
| Retrieves a string parameter by name or throws an error.
|
|
subroutine | json_get_real_array (json, name, value) |
| Retrieves a real array parameter by name or throws an error.
|
|
subroutine | json_get_double_array (json, name, value) |
| Retrieves a real array parameter by name or throws an error.
|
|
subroutine | json_get_integer_array (json, name, value) |
| Retrieves a integer array parameter by name or throws an error.
|
|
subroutine | json_get_logical_array (json, name, value) |
| Retrieves a logical array parameter by name or throws an error.
|
|
subroutine | json_get_string_array (json, name, value, filler) |
| Retrieves a string array parameter by name or throws an error.
|
|
subroutine | json_get_subdict (json, key, output) |
| Extract a sub-object from a json object.
|
|
Definition at line 48 of file json_utils.f90.
◆ json_get_double()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 88 of file json_utils.f90.
◆ json_get_double_array()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 168 of file json_utils.f90.
◆ json_get_integer()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 104 of file json_utils.f90.
◆ json_get_integer_array()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 184 of file json_utils.f90.
◆ json_get_logical()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 120 of file json_utils.f90.
◆ json_get_logical_array()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 200 of file json_utils.f90.
◆ json_get_real()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter. |
Definition at line 72 of file json_utils.f90.
◆ json_get_real_array()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 152 of file json_utils.f90.
◆ json_get_string()
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
Definition at line 136 of file json_utils.f90.
◆ json_get_string_array()
subroutine json_utils::json_get::json_get_string_array |
( |
type(json_file), intent(inout) |
json, |
|
|
character(len=*), intent(in) |
name, |
|
|
character(len=*), dimension(:), intent(out), allocatable |
value, |
|
|
character(len=*), intent(in), optional |
filler |
|
) |
| |
- Parameters
-
[in,out] | json | The json to retrieve the parameter from. |
[in] | name | The full path to the parameter. |
[out] | value | The variable to be populated with the retrieved parameter |
[in] | filler | The default string to fill empty array items with. |
Definition at line 217 of file json_utils.f90.
◆ json_get_subdict()
The documentation for this interface was generated from the following file: