json_file_nullify Subroutine

private subroutine json_file_nullify(me)

Nullify the json_value pointer in a json_file, but do not destroy it.

This should normally only be done if the pointer is the target of another pointer outside the class that is still intended to be in scope after the json_file has gone out of scope. Otherwise, this would result in a memory leak.

See also


  • 6/30/2019 : Created

Type Bound



Type IntentOptional Attributes Name
class(json_file), intent(inout) :: me

Source Code

    subroutine json_file_nullify(me)

    implicit none

    class(json_file),intent(inout) :: me


    end subroutine json_file_nullify