{{ transformations:SplitJsonAction.png}} ======SPLIT JSON ARRAY====== Category: Transform / Web \\ \\ =====Description===== This action splits a [[https://en.wikipedia.org/wiki/JSON|JSON]] array into rows. \\ =====Action settings===== ^Setting ^Description ^ |Column|Select the column that contains the JSON array structure to split.| \\ \\ =====Examples===== **Source JSON:** (All text contained within a single cell).\\ \\ **Employees:** [ { "name": "Doug", "id": 7, "dept": "Accounting" }, { "name": "Sue", "id": 2, "dept": "HR" }, { "name": "Mark", "id": 5, "dept": "Maintenance" }, { "name": "Tamara", "id": 1, "dept": "Administration" } ] \\ **Action parameters:** > Column is "Employees" \\ **Result:**\\ **Employees** (Individual rows) { "name": "Doug", "id": 1, "dept": "Accounting" } { "name": "Sue", "id": 2, "dept": "HR" } { "name": "Mark", "id": 5, "dept": "Maintenance" } { "name": "Tamara", "id": 1, "dept": "Adminstration" } \\ ===== See also ===== * [[transformations:extractjson|Extract JSON properties]] * [[transformations:modifyjson|Modify JSON]] * [[transformations:parsejson|Parse JSON]] * [[syntax:functions:isjson|Functions: IsJson()]] * [[https://community.easymorph.com/t/example-constructing-json/1279/5|Community example: Constructing JSON]]