Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
json_utils::json_extract_item Interface Reference

Public Member Functions

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

Detailed Description

Definition at line 60 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 
)
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 380 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 
)
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 400 of file json_utils.f90.


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