cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create JSON Array

kumar25
New Contributor II

Hi,

I have a list of JSON objects, trying to add them to an array. Not able to do so, can some help in how to do that.

Input:
[
{
“a”:“101”,
“b”:“102”,
“c”:“103”
},
{
“a”:“201”,
“b”:“202”,
“c”:“303”
},
{
“a”:“301”,
“b”:“302”,
“c”:“303”
}
]

Expected Output:
{
“values”:[
{
“a”:“101”,
“b”:“102”,
“c”:“103”
},
{
“a”:“201”,
“b”:“202”,
“c”:“303”
},
{
“a”:“301”,
“b”:“302”,
“c”:“303”
}
]
}

2 REPLIES 2

nsingam
Employee
Employee

Hi @kumar25,

You can you the Group By N snap and set the Group Size to 0 and Target field to values.

kumar25
New Contributor II

Hi @nsingam … It worked. Thanks