wrap_json_file_get_string Subroutine

private subroutine wrap_json_file_get_string(me, path, val, found)

Alternate version of json_file_get_string, where "path" is kind=CDK.

Arguments

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

the path to the variable

character(kind=CK,len=:), intent(out), allocatable:: val

value

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

if it was really found


Calls

proc~~wrap_json_file_get_string~~CallsGraph proc~wrap_json_file_get_string wrap_json_file_get_string interface~to_unicode to_unicode proc~wrap_json_file_get_string->interface~to_unicode proc~to_uni_vec to_uni_vec interface~to_unicode->proc~to_uni_vec proc~to_uni to_uni interface~to_unicode->proc~to_uni

Contents


Source Code

    subroutine wrap_json_file_get_string(me, path, val, found)

    implicit none

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

    call me%get(to_unicode(path), val, found)

    end subroutine wrap_json_file_get_string