Background: I try to update the attributes of features in an ArcGIS Server Feature Service via the REST endpoint. (ApplyEdits) In an attempt to create a generic solution, I write my features to an Esri-JSON, then read the result back in as a text file and use the JSONUpdater and the JSONTemplater to create the JSON ArcGIS Server understands. My goal is to produce the following JSON:
.{
    "id": 0,
    "updates": i{
        "attributes": {
            "objectid": 1,
            "attribute1": "a"
        }
    }, {
        "attributes": {
            "objectid": 2,
            "attribute1": "b"
        }
    }]
}]
My Esri-JSON is:
{
    "RecordSet" : {
        "geometryType" : "esriGeometryPoint",
        "spatialReference" : {
            "wkid" : ""
        },
        "features" :Â
            {
                "geometry" : {
                    "x" : 0,
                    "y" : 0
                },
                "attributes" : {
                    "objectid" : 1,
                    "attribute1" : "a"
                }
            },
            {
                "geometry" : {
                    "x" : 0,
                    "y" : 0
                },
                "attributes" : {
                    "objectid" : 2,
                    "attribute1" : "b"
                }
            }
        ]
    }
}
Now I want to delete "geometry" as I only want to update the attributes. (I think to understand geometry is an Object, correct?) I think the correct path to geometry is:
jsonÂ"RecordSet"] "features"]Â"geometry"]
But I do not understand how I get the syntax right to let the JSONUpdater delete it...
Can anyone point me in the right direction?
Added workspace: