I have the following JsonSluper
object :
[ [id:5017,feature:age,value:20],
[id:2017,feature:city,value:paris],
[id:3017,feature:country,value:france] ]
and I want to get the following JsonObject
:
"person":{
"age":20,
"city":paris,
"country":france
}
I want to transform the feature
value of the JsonSluper
to a field of the JsonObject