NL-JSON

FEATURE STATE: Gyroscops 0.1 [alpha]

JSON (JavaScript Object Notation) is a lightweight format for data exchange.

What is it for?

The JSON plugin aims at integrating the NL-JSON extractor and loader into the Pipeline stack.

Installation

In a Satellite project, add the NL-JSON plugin this way:

composer require php-etl/json-plugin

Usage

Building an extractor

To build an extractor, you need to specify the path of your file with the file_path option.



json:
  extractor:
    file_path: 'input.nljson'

Building a loader

To build a loader, you need to specify the path to your file with the file_path option.



json:
  loader:
    file_path: 'output.nljson'