FlattenJson 2.3.0¶
BUNDLE¶
org.apache.nifi | nifi-standard-nar
DESCRIPTION¶
Provides the user with the ability to take a nested JSON document and flatten it into a simple key/value pair document. The keys are combined at each level with a user-defined separator that defaults to ‘.’. This Processor also allows to unflatten back the flattened json. It supports four kinds of flatten mode such as normal, keep-arrays, dot notation for MongoDB query and keep-primitive-arrays. Default flatten mode is ‘keep-arrays’.
INPUT REQUIREMENT¶
REQUIRED
Supports Sensitive Dynamic Properties¶
false
PROPERTIES¶
Property |
Description |
---|---|
flatten-json-character-set |
The Character Set in which file is encoded |
flatten-json-pretty-print-json |
Specifies whether or not resulted json should be pretty printed |
flatten-json-return-type |
Specifies the desired return type of json such as flatten/unflatten |
flatten-json-separator |
The separator character used for joining keys. Must be a JSON-legal character. |
flatten-mode |
Specifies how json should be flattened/unflattened |
ignore-reserved-characters |
If true, reserved characters in keys will be ignored |
RELATIONSHIPS¶
NAME |
DESCRIPTION |
---|---|
failure |
Files that cannot be flattened/unflattened go to this relationship. |
success |
Successfully flattened/unflattened files go to this relationship. |