json_get_parent Subroutine

public subroutine json_get_parent(me, p)

Arguments

Type IntentOptional AttributesName
type(json_value), intent(in), pointer:: me

JSON object

type(json_value), intent(out), pointer:: p

pointer to parent

Description

Returns a pointer to the parent of a json_value. If there is no parent, then a null() pointer is returned.

Called By

proc~~json_get_parent~~CalledByGraph proc~json_get_parent json_get_parent proc~test_2 test_2 proc~test_2->proc~json_get_parent program~jf_test_2 jf_test_2 program~jf_test_2->proc~test_2
Help

Source Code

    subroutine json_get_parent(me,p)

    implicit none

    type(json_value),pointer,intent(in) :: me   !! JSON object
    type(json_value),pointer,intent(out) :: p   !! pointer to parent

    p => me%parent

    end subroutine json_get_parent