json_file_get_root Subroutine

private subroutine json_file_get_root(me, p)

Get a json_value pointer to the JSON file root.

Arguments

TypeIntentOptionalAttributesName
class(json_file), intent(inout) :: me
type(json_value), intent(out), pointer:: p

pointer to the variable


Contents

Source Code


Source Code

    subroutine json_file_get_root(me,p)

    implicit none

    class(json_file),intent(inout)       :: me
    type(json_value),pointer,intent(out) :: p      !! pointer to the variable

    p => me%p

    end subroutine json_file_get_root