json_clear_exceptions Subroutine

private pure subroutine json_clear_exceptions(json)

Clear exceptions in the json_core.

Arguments

Type IntentOptional AttributesName
class(json_core), intent(inout) :: json

Contents

Source Code


Source Code

    pure subroutine json_clear_exceptions(json)

    implicit none

    class(json_core),intent(inout)  :: json

    !clear the flag and message:
    json%exception_thrown = .false.
    json%err_message = CK_''

    end subroutine json_clear_exceptions