json_rename_by_path_name_ascii Subroutine

private subroutine json_rename_by_path_name_ascii(json, me, path, name, found)

Alternate version of json_rename_by_path, where “name” is kind=CDK

Type Bound

json_core

Arguments

Type IntentOptional Attributes Name
class(json_core), intent(inout) :: json
type(json_value), intent(in), pointer :: me
character(kind=CK, len=*), intent(in) :: path
character(kind=CDK, len=*), intent(in) :: name
logical(kind=LK), intent(out), optional :: found

Calls

proc~~json_rename_by_path_name_ascii~~CallsGraph proc~json_rename_by_path_name_ascii json_core%json_rename_by_path_name_ascii interface~to_unicode to_unicode proc~json_rename_by_path_name_ascii->interface~to_unicode 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_rename_by_path_name_ascii(json, me, path, name, found)

    implicit none

    class(json_core),intent(inout)        :: json
    type(json_value),pointer,intent(in)   :: me
    character(kind=CK,len=*),intent(in)   :: path
    character(kind=CDK,len=*),intent(in)  :: name
    logical(LK),intent(out),optional      :: found

    call json%rename(me,path,to_unicode(name),found)

    end subroutine json_rename_by_path_name_ascii