Alternate version of json_file_get_integer, where "path" is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CDK,len=*), | intent(in) | :: | path | the path to the variable |
||
integer(kind=IK), | intent(out) | :: | val | value |
||
logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
subroutine wrap_json_file_get_integer(me, path, val, found)
implicit none
class(json_file),intent(inout) :: me
character(kind=CDK,len=*),intent(in) :: path !! the path to the variable
integer(IK),intent(out) :: val !! value
logical(LK),intent(out),optional :: found !! if it was really found
call me%get(to_unicode(path), val, found)
end subroutine wrap_json_file_get_integer