Neko  0.8.99
A portable framework for high-order spectral element flow simulations
json_utils::json_extract_item Interface Reference

Private Member Functions

subroutine json_extract_item_from_array (core, array, i, item)
 Extract ith item from a JSON array as a separate JSON object. More...
 
subroutine json_extract_item_from_name (json, name, i, item)
 Extract ith item from a JSON array as a separate JSON object. More...
 

Detailed Description

Definition at line 59 of file json_utils.f90.

Member Function/Subroutine Documentation

◆ json_extract_item_from_array()

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 
)
private
Parameters
[in,out]coreJSON core object.
[in]arrayThe JSON object with the array.
[in]iThe index of the item to extract.
[in,out]itemJSON object object to be filled with the subdict.

Definition at line 357 of file json_utils.f90.

◆ json_extract_item_from_name()

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 
)
private
Parameters
[in,out]jsonThe JSON object with the array.
[in]nameThe name of the array.
[in]iThe index of the item to extract.
[in,out]itemJSON object object to be filled with the subdict.

Definition at line 377 of file json_utils.f90.


The documentation for this interface was generated from the following file: