Alternate version of json_file_get_real32, 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 |
||
real(kind=real32), | intent(out) | :: | val |
value |
||
logical(kind=LK), | intent(out), | optional | :: | found |
if it was really found |
|
real(kind=real32), | intent(in), | optional | :: | default |
subroutine wrap_json_file_get_real32 (me, path, val, found, default) implicit none class(json_file),intent(inout) :: me character(kind=CDK,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 real(real32),intent(in),optional :: default call me%get(to_unicode(path), val, found, default) end subroutine wrap_json_file_get_real32