ChangelogFebruary 22, 2022
Prettier plugin for JSONata language
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Since developers use JSONata in the Mappings product, Stedi has contributed to Prettier by adding the prettier-plugin-jsonata, which uses the JSONata parser available as part of the jsonata package.
Here is what JSONata looks like in the Mappings expression editor before formatting:

…and after formatting:
