json_file_rename_name_ascii Subroutine

private subroutine json_file_rename_name_ascii(me, path, name, found)

Wrapper for json_file_rename where “name” is kind=CDK).

Type Bound

json_file

Arguments

Type IntentOptional Attributes Name
class(json_file), intent(inout) :: me
character(kind=CK, len=*), intent(in) :: path

the path to the variable

character(kind=CDK, len=*), intent(in) :: name

the new name

logical(kind=LK), intent(out), optional :: found

if the variable was found


Calls

proc~~json_file_rename_name_ascii~~CallsGraph proc~json_file_rename_name_ascii json_file%json_file_rename_name_ascii interface~to_unicode to_unicode proc~json_file_rename_name_ascii->interface~to_unicode proc~json_file_rename json_file%json_file_rename proc~json_file_rename_name_ascii->proc~json_file_rename proc~to_uni to_uni interface~to_unicode->proc~to_uni proc~to_uni_vec to_uni_vec interface~to_unicode->proc~to_uni_vec

Source Code

    subroutine json_file_rename_name_ascii(me,path,name,found)

    implicit none

    class(json_file),intent(inout)       :: me
    character(kind=CK,len=*),intent(in)  :: path   !! the path to the variable
    character(kind=CDK,len=*),intent(in) :: name   !! the new name
    logical(LK),intent(out),optional     :: found  !! if the variable was found

    call me%json_file_rename(path,to_unicode(name),found)

    end subroutine json_file_rename_name_ascii