Alternate version of json_rename_by_path, where "path" and "name" are kind=CDK
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_core), | intent(inout) | :: | json | |||
type(json_value), | intent(in), | pointer | :: | me | ||
character(kind=CDK,len=*), | intent(in) | :: | path | |||
character(kind=CDK,len=*), | intent(in) | :: | name | |||
logical(kind=LK), | intent(out), | optional | :: | found |
subroutine wrap_json_rename_by_path(json, me, path, name, found)
implicit none
class(json_core),intent(inout) :: json
type(json_value),pointer,intent(in) :: me
character(kind=CDK,len=*),intent(in) :: path
character(kind=CDK,len=*),intent(in) :: name
logical(LK),intent(out),optional :: found
call json%rename(me,to_unicode(path),to_unicode(name),found)
end subroutine wrap_json_rename_by_path