Skip to content

dnedev/pdi-fastjsoninput-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast JSON Input - PDI Plugin

Build Status

This is an alternate version of the "JSON Input" step that uses Jayway JsonPath instead of a parser based on JavaScript. It is intended to be a drop-in replacement for the "JSON Input" step but should be much faster and memory efficient.

Features over PDI JSON Input

  • [PDI-10344] Replaced JavaScript parsing engine with Jayway JsonPath
  • [PDI-10858] Checkbox to "Remove source field from output stream"
  • Checkbox to enable JsonPath's DEFAULT_PATH_LEAF_TO_NULL option which returns null for missing leafs:
[
    {
        "name": "Jesse Adametz",
        "gender": "male"
    },
    {
        "name": "Etienne Dube"
    }
]
  • Tests! There are currently 4 test cases which test the permutations of "Ignore missing path" and "Default path leaf to null"

Help

Help for the step and its usage can be found in the Help documentation.

Development

Build

To build (requires Apache Maven 3 or later):

mvn package

Install

  1. Run mvn install -Dpdi.home=/path/to/local/data-integration (e.g. - mvn install -Dpdi.home=/ssd/graphiq/gq-kettle/dist)

Authors:

About

FastJsonInput step plugin for Pentaho Data Integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%