You are here

protected function FeedsExJmesPath::setUp in Feeds extensible parsers 7.2

Allows subclasses to prepare for parsing.

Parameters

FeedsSource $source: The feed source.

FeedsFetcherResult $fetcher_result: The result of the fetching stage.

Overrides FeedsExBase::setUp

1 call to FeedsExJmesPath::setUp()
FeedsExJmesPathLines::setUp in src/FeedsExJmesPathLines.inc
Allows subclasses to prepare for parsing.
1 method overrides FeedsExJmesPath::setUp()
FeedsExJmesPathLines::setUp in src/FeedsExJmesPathLines.inc
Allows subclasses to prepare for parsing.

File

src/FeedsExJmesPath.inc, line 26
Contains FeedsExJmesPath.

Class

FeedsExJmesPath
Parses JSON documents with JMESPath.

Code

protected function setUp(FeedsSource $source, FeedsFetcherResult $fetcher_result) {
  $this->jmesPath = new AstRuntime();
}