kumar25
3 years agoNew Contributor II
Not able to create JSON Array
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”
}
]
}