Alternate version of json_get_real where value=real32.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | me | |||
real(kind=real32), | intent(out) | :: | value |
subroutine json_get_real32(json, me, value)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: me
real(real32),intent(out) :: value
real(RK) :: tmp
call json%get(me, tmp)
value = real(tmp,RK)
end subroutine json_get_real32