Select key JSON

../../../../../_images/select_json_key.svg

Select key in a JSON structure and from that create a new JSON

Will only select the first occurrence of the key

For example from the JSON:

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

we can select the key "items", which will produce the new JSON

{
    "a":"1",
    "b":"2",
    "c":"3"
}
Input ports:
input:

json

Input

Output ports:
output:

json

Output

Configuration:
JSON key (key)
The key to select
class node_select_json.SelectKeyJson[source]