I am getting the following JSON output from R code:-
{
"output": [ "{1} => {2}", "{1} => {3}", "{1} => {5}" ]
}
I need to format the output to:-
{
"output": [ "2","3","5" ]
}
Is there anyway in R to get the desired output?
I am getting the following JSON output from R code:-
{
"output": [ "{1} => {2}", "{1} => {3}", "{1} => {5}" ]
}
I need to format the output to:-
{
"output": [ "2","3","5" ]
}
Is there anyway in R to get the desired output?