786 B
786 B
JSON
Javascript Object Notation is a standardized lightweight plain-text representation that is widely used. JSON has the advantage of retaining type information, however since the entire JSON blob is read on load, it is not cursorable like CSV or NDJSON.
Parameters
| # | Name | Default | Type | Description |
|---|---|---|---|---|
| 1 | path | string | The path to the JSON file. |
Example
use Rubix\ML\Extractors\JSON;
$extractor = new JSON('example.json');
Additional Methods
This extractor does not have any additional methods.