Pretty Print

Pretty Print processes data by applying or reversing https://en.wikipedia.org/wiki/Prettyprint formatting to objects.

This processor has significant limitations when used to reverse prettyprint, including:

  • cannot support multi-core processing
  • invalid input will cause unpredictable results

It is strongly recommended to not use this processor unless absolutely necessary; a more reliable solution is to modify the source application emitting multi-line objects so that it outputs a single-line object instead.

Interpretation Methods

The processor supports these interpretation methods:

  • data

Options

FieldTypeDescriptionRequired
direction[]objectdetermines whether prettyprint formatting is applied or reversed.

must be one of:
- to: applies prettyprint formatting
- from: reverses prettyprint formatting
Yes