NDJSON (Newline Delimited JSON) Reader/Writer
FME can read and write data in the NDJSON (Newline Delimited JSON) format.
NDJSON is a newline-delimited variant of the JSON format. Each line in a NDJSON file is a self-contained JSON object or array.
For more information on the NDJSON format, see the NDJSON web page.
NDJSON Product and System Requirements
Format |
FME Platform |
Operating System |
||||
---|---|---|---|---|---|---|
Reader/Writer |
FME Form |
FME Flow |
FME Flow Hosted |
Windows 64-bit |
Linux |
Mac |
Reader |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Writer |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Reader Overview
Each file read by the NDJSON reader will produce an FME feature type. The reader will create an FME feature for each line in the file. The JSON value will be flattened into attributes.
The NDJSON reader will not create any geometry on the features it creates.
Writer Overview
The writer will create a new file for each FME feature type. Features will be output as JSON objects, one per line. The attributes of the features will be output as the keys and values of the JSON object.
Any geometries on the output features will not be written.