-1

Input:

{ "abc": "xyz", "pqr": "def" }

Expected Output:

[ { "abc": "xyz", "pqr": "def" } ]

Expecting the output mentioned.

aled
  • 21,330
  • 3
  • 27
  • 34
soumya
  • 3
  • 2

2 Answers2

1

Just enclosing an object -or any construct- in bracket will return an array with that item.

Example:

[payload]
aled
  • 21,330
  • 3
  • 27
  • 34
0

enter image description hereIf you have a sing json object you could do this...