Alternate version of json_value_add_double where name
is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | pointer | :: | p | |||
character(kind=CDK,len=*), | intent(in) | :: | name | variable name |
||
real(kind=RK), | intent(in) | :: | val | real value |
subroutine wrap_json_value_add_double(json,p,name,val)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
character(kind=CDK,len=*),intent(in) :: name !! variable name
real(RK),intent(in) :: val !! real value
call json%add(p, to_unicode(name), val)
end subroutine wrap_json_value_add_double