Alternate version of json_value_rename, where name
is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | intent(in), | pointer | :: | p | ||
character(kind=CDK,len=*), | intent(in) | :: | name | new variable name |
subroutine wrap_json_value_rename(json,p,name)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer,intent(in) :: p
character(kind=CDK,len=*),intent(in) :: name !! new variable name
call json%rename(p,to_unicode(name))
end subroutine wrap_json_value_rename