wrap_json_get_real32_vec_by_path Subroutine

private subroutine wrap_json_get_real32_vec_by_path(json, me, path, vec, found, default)

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

Arguments

TypeIntentOptionalAttributesName
class(json_core), intent(inout) :: json
type(json_value), pointer:: me
character(kind=CDK,len=*), intent(in) :: path
real(kind=real32), intent(out), dimension(:), allocatable:: vec
logical(kind=LK), intent(out), optional :: found
real(kind=real32), intent(in), optional dimension(:):: default

default value if not found


Calls

proc~~wrap_json_get_real32_vec_by_path~~CallsGraph proc~wrap_json_get_real32_vec_by_path wrap_json_get_real32_vec_by_path interface~to_unicode to_unicode proc~wrap_json_get_real32_vec_by_path->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

Contents


Source Code

    subroutine wrap_json_get_real32_vec_by_path(json, me, path, vec, found, default)

    implicit none

    class(json_core),intent(inout)                    :: json
    type(json_value),pointer                          :: me
    character(kind=CDK,len=*),intent(in)              :: path
    real(real32),dimension(:),allocatable,intent(out) :: vec
    logical(LK),intent(out),optional                  :: found
    real(real32),dimension(:),intent(in),optional     :: default !! default value if not found

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

    end subroutine wrap_json_get_real32_vec_by_path