Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)Flatten Mode | flatten-mode | keep arrays | - normal
![Flattens every objects into a single level json Flattens every objects into a single level json](../../../../../html/images/iconInfo.png) - keep arrays
![Flattens every objects and keep arrays format Flattens every objects and keep arrays format](../../../../../html/images/iconInfo.png) - dot notation
![Conforms to MongoDB dot notation to update also nested documents Conforms to MongoDB dot notation to update also nested documents](../../../../../html/images/iconInfo.png) - keep primitive arrays
![Flattens every objects except arrays which contain only primitive types (strings, numbers, booleans and null) Flattens every objects except arrays which contain only primitive types (strings, numbers, booleans and null)](../../../../../html/images/iconInfo.png)
| Specifies how json should be flattened/unflattened |
Ignore Reserved Characters | ignore-reserved-characters | false | | If true, reserved characters in keys will be ignored |
Return Type | flatten-json-return-type | flatten | | Specifies the desired return type of json such as flatten/unflatten |
Character Set | flatten-json-character-set | UTF-8 | | The Character Set in which file is encoded |
Pretty Print JSON | flatten-json-pretty-print-json | false | | Specifies whether or not resulted json should be pretty printed |
Relationships:
Name | Description |
---|
success | Successfully flattened/unflattened files go to this relationship. |
failure | Files that cannot be flattened/unflattened go to this relationship. |
Reads Attributes:
None specified.Writes Attributes:
None specified.State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.