Remove key JSON

../../../../_images/remove_json_key.svg

Documentation

Remove a key from a JSON structure

For example from the JSON:

{
    "version":"1.0",
    "software":"sfd",
    "items" : {
        "a":"1",
        "b":"2",
         "c":"3"
    }
}

we can remove the keys "version" and "software" producing the new JSON

{
   "items" : {
        "a":"1",
        "b":"2",
         "c":"3"
    }
}

Definition

Input ports

input json

Input

Output ports

output json

Output

Configuration

Remove all (all)

Remove all occurences of key, not just first

JSON key (key)

The key to select

Implementation

class node_select_json.RemoveKeyJson[source]