Alternate version of json_value_add_real_vec where val
is real32
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | |||
character(kind=CK,len=*), | intent(in) | :: | name | |||
real(kind=real32), | intent(in), | dimension(:) | :: | val |
subroutine json_value_add_real32_vec(json, p, name, val)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
character(kind=CK,len=*),intent(in) :: name
real(real32),dimension(:),intent(in) :: val
call json%add(p,name,real(val,RK))
end subroutine json_value_add_real32_vec