Alternate version of json_value_create_real where val=real32.
The value is converted into a real(RK)
variable internally.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | |||
real(kind=real32), | intent(in) | :: | val | |||
character(kind=CK,len=*), | intent(in) | :: | name |
subroutine json_value_create_real32(json,p,val,name)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
real(real32),intent(in) :: val
character(kind=CK,len=*),intent(in) :: name
call json%create_real(p,real(val,RK),name)
end subroutine json_value_create_real32