Check error status in the file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(in) | :: | me |
will be true if there has been an error.
pure function json_file_failed(me) result(failed)
implicit none
class(json_file),intent(in) :: me
logical(LK) :: failed !! will be true if there has been an error.
failed = me%core%failed()
end function json_file_failed