Skip to content

Can you delete from objects in an array? #17

@nixta

Description

@nixta

Let's say I have JSON that includes an array, each element of which is a JSON object. Can I modify those objects?

{
  "items" : [
    { "geometry" : [0,0], "properties": { "name": "Null Island", "area": 1000 } },
    { "geometry" : [40.7128,-74.0060], "properties": { "name": "Manhattan", "area": 14604 } }
  ]
}

I can select and view items.#.properties.area, but I'd like to delete area from each item. Is that possible but I'm just doing it wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions