EIRAM
atomic and molecular data in form of polynomial fits
|
Functions/Subroutines | |
character(size(arr)*(itol+9)+2) function, public | eiram_json_getarrayasjson (arr, length, itol) |
Return a JSON array string (ie. "[…]") with the elements of the given array arr. More... | |
character(len_trim(str)*2) function, public | eiram_json_jsonescape (str, length) |
Return the input string where »\« and »"« are escaped with backslashes. More... | |
subroutine, public | eiram_json_writejsonstringproperty (name, value, jsonString, ind) |
Write a pair of the JSON property-(string-)values into a string, including leading comma. More... | |
character(size(arr)*(itol+9)+2) function, public json::eiram_json_getarrayasjson | ( | real(8), dimension(:), intent(in) | arr, |
integer, intent(out) | length, | ||
integer, intent(in) | itol | ||
) |
Return a JSON array string (ie. "[…]") with the elements of the given array arr.
[in] | arr | the array which is converterted to a json array string |
[out] | length | the (trimmed) length of the returned string |
[in] | itol | Number of significant digits in the output |
Definition at line 36 of file json.f90.
Referenced by getreactionsasjson(), and pointstojsonstring().
character(len_trim(str)*2) function, public json::eiram_json_jsonescape | ( | character(*), intent(in) | str, |
integer, intent(out) | length | ||
) |
Return the input string where »\« and »"« are escaped with backslashes.
[in] | str | the string which will be escaped |
[out] | length | the (trimmed) length of the escaped string |
Definition at line 69 of file json.f90.
Referenced by eiram_json_writejsonstringproperty().
subroutine, public json::eiram_json_writejsonstringproperty | ( | character(*), intent(in) | name, |
character(*), intent(in) | value, | ||
character(*), intent(inout) | jsonString, | ||
integer, intent(inout) | ind | ||
) |
Write a pair of the JSON property-(string-)values into a string, including leading comma.
[in] | name | the name of the property |
[in] | value | the value of the property; the value is assumed not to be escaped |
[in,out] | jsonstring | the string to which the property is written |
[in,out] | ind | the index of the string where the value is written; after the call, the index is positioned after the last character written |
Definition at line 94 of file json.f90.
References eiram_json_jsonescape().
Referenced by getreactionsasjson(), and pointstojsonstring().