protected function JsonParserBase::startErrorHandling in Feeds extensible parsers 8
Starts internal error handling.
Subclasses can override this to being error handling.
Overrides ParserBase::startErrorHandling
File
- src/
Feeds/ Parser/ JsonParserBase.php, line 53
Class
- JsonParserBase
- Base class for JSON based parsers.
Namespace
Drupal\feeds_ex\Feeds\ParserCode
protected function startErrorHandling() {
// Clear the json errors from previous parsing.
json_decode('{}');
}