wrap_json_file_get_string_vec Subroutine

private subroutine wrap_json_file_get_string_vec(me, path, vec, found, default)

Alternate version of json_file_get_string_vec, where “path” is kind=CDK.

Type Bound

json_file

Arguments

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

the path to the variable

character(kind=CK, len=*), intent(out), dimension(:), allocatable :: vec

value vector

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

if it was really found

character(kind=CK, len=*), intent(in), optional, dimension(:) :: default

Calls

proc~~wrap_json_file_get_string_vec~~CallsGraph proc~wrap_json_file_get_string_vec json_file_module::json_file%wrap_json_file_get_string_vec get get proc~wrap_json_file_get_string_vec->get interface~to_unicode json_string_utilities::to_unicode proc~wrap_json_file_get_string_vec->interface~to_unicode proc~to_uni json_string_utilities::to_uni interface~to_unicode->proc~to_uni proc~to_uni_vec json_string_utilities::to_uni_vec interface~to_unicode->proc~to_uni_vec

Contents


Source Code

    subroutine wrap_json_file_get_string_vec(me, path, vec, found, default)

    implicit none

    class(json_file),intent(inout)                                :: me
    character(kind=CDK,len=*),intent(in)                          :: path  !! the path to the variable
    character(kind=CK,len=*),dimension(:),allocatable,intent(out) :: vec   !! value vector
    logical(LK),intent(out),optional                              :: found !! if it was really found
    character(kind=CK,len=*),dimension(:),intent(in),optional     :: default

    call me%get(to_unicode(path), vec, found, default)

    end subroutine wrap_json_file_get_string_vec