Alternate version of json_file_get_real where val
is real32
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CK,len=*), | intent(in) | :: | path | the path to the variable |
||
real(kind=real32), | intent(out) | :: | val | value |
||
logical(kind=LK), | intent(out), | optional | :: | found | if it was really found |
subroutine json_file_get_real32 (me, path, val, found)
implicit none
class(json_file),intent(inout) :: me
character(kind=CK,len=*),intent(in) :: path !! the path to the variable
real(real32),intent(out) :: val !! value
logical(LK),intent(out),optional :: found !! if it was really found
call me%core%get(me%p, path=path, value=val, found=found)
end subroutine json_file_get_real32