JsonExtractor implements Extractor, FileExtractor, LimitableExtractor uses Limitable, PathFiltering
FinalYes
Interfaces
- Extractor
- FileExtractor
- LimitableExtractor
Methods
- __construct() : mixed
- extract() : Generator
- source() : Path
- withPointer() : self
- withSchema() : self
Methods
__construct()
public
__construct(Path $path) : mixed
Parameters
- $path : Path
extract()
public
extract(FlowContext $context) : Generator
Parameters
- $context : FlowContext
Return values
Generatorsource()
public
source() : Path
Return values
PathwithPointer()
public
withPointer(string $pointer[, bool $pointerToEntryName = false ]) : self
Parameters
- $pointer : string
- $pointerToEntryName : bool = false
-
- when true pointer will be used as entry name for extracted data
Return values
selfwithSchema()
public
withSchema(Schema $schema) : self
Parameters
- $schema : Schema