[source]

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#

# Param 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.

References#

  • T. Bray. (2014). The JavaScript Object Notation (JSON) Data Interchange Format.