I have the following objectNode:
{
"type": "FeatureCollection",
"features": [
{"type":"Feature",
"properties":{
"pro1":"value1",
"pro2":"value2"
},
"geometry":{
"type":"Polygon",
"coordinates":[[[3.22998,48.312428],[3.22998,48.719961],[3.405762,48.719961],[3.405762,48.312428],[3.22998,48.312428]]]
}
}
]
}
Basically I want to remove all the elements from properties and get something like:
"properties":{}
I've tried top use the following but it deletes everything:
bufferPolygon.setObject(((ObjectNode)bufferIteration).with("properties").removeAll().toString());