wrap_json_get_alloc_string_vec_by_path Subroutine

private subroutine wrap_json_get_alloc_string_vec_by_path(json, me, path, vec, ilen, found, default, default_ilen)

Alternate version of json_get_alloc_string_vec_by_path, where “path” 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=CDK, len=*), intent(in) :: path
character(kind=CK, len=:), intent(out), dimension(:), allocatable :: vec
integer(kind=IK), intent(out), dimension(:), allocatable :: ilen

the actual length of each character string in the array

logical(kind=LK), intent(out), optional :: found
character(kind=CK, len=*), intent(in), optional, dimension(:) :: default
integer(kind=IK), intent(in), optional, dimension(:) :: default_ilen

the actual length of default


Calls

proc~~wrap_json_get_alloc_string_vec_by_path~~CallsGraph proc~wrap_json_get_alloc_string_vec_by_path json_value_module::json_core%wrap_json_get_alloc_string_vec_by_path get get proc~wrap_json_get_alloc_string_vec_by_path->get interface~to_unicode json_string_utilities::to_unicode proc~wrap_json_get_alloc_string_vec_by_path->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_get_alloc_string_vec_by_path(json,me,path,vec,ilen,found,default,default_ilen)

    implicit none

    class(json_core),intent(inout)        :: json
    type(json_value),pointer,intent(in)   :: me
    character(kind=CDK,len=*),intent(in)  :: path
    character(kind=CK,len=:),dimension(:),allocatable,intent(out) :: vec
    integer(IK),dimension(:),allocatable,intent(out) :: ilen !! the actual length
                                                             !! of each character
                                                             !! string in the array
    logical(LK),intent(out),optional :: found
    character(kind=CK,len=*),dimension(:),intent(in),optional :: default
    integer(IK),dimension(:),intent(in),optional :: default_ilen !! the actual
                                                                 !! length of `default`

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

    end subroutine wrap_json_get_alloc_string_vec_by_path