I have a json input which contains a key-value where the value is an array,
I want to keep the array value but directly without the key :
the input:
{ "records": [ { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 1 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 2 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 3 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 4 } ] }
would become just an array:
[ { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 1 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 2 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 3 }, { "geometry": { "coordinates": [ 2.27534258685, 48.8296843301 ], "type": "Point" }, "recordid": 4 } ]
Do you know how to do this please?