Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Public Member Functions | |
subroutine | json_extract_item_from_array (core, array, i, item) |
Extract i th item from a JSON array as a separate JSON object. | |
subroutine | json_extract_item_from_name (json, name, i, item) |
Extract i th item from a JSON array as a separate JSON object. | |
Definition at line 60 of file json_utils.f90.
subroutine json_utils::json_extract_item::json_extract_item_from_array | ( | type(json_core), intent(inout) | core, |
type(json_value), intent(in), pointer | array, | ||
integer, intent(in) | i, | ||
type(json_file), intent(inout) | item | ||
) |
[in,out] | core | JSON core object. |
[in] | array | The JSON object with the array. |
[in] | i | The index of the item to extract. |
[in,out] | item | JSON object object to be filled with the subdict. |
Definition at line 380 of file json_utils.f90.
subroutine json_utils::json_extract_item::json_extract_item_from_name | ( | type(json_file), intent(inout) | json, |
character(len=*), intent(in) | name, | ||
integer, intent(in) | i, | ||
type(json_file), intent(out) | item | ||
) |
[in,out] | json | The JSON object with the array. |
[in] | name | The name of the array. |
[in] | i | The index of the item to extract. |
[in,out] | item | JSON object object to be filled with the subdict. |
Definition at line 400 of file json_utils.f90.