How do I use Jolt to flatten a json array of n objects? How do I use Jolt to flatten a json array of n objects? json json

How do I use Jolt to flatten a json array of n objects?


After a little wrangling on jolt-demo.appspot.com I figured it out. For those that are encountering the same challenge, here is the spec:

[  {    "operation": "shift",    "spec": {      "data": {        "*": {          "*": "&0"        }      }    }}]