Page tree
Skip to end of metadata
Go to start of metadata

N.B.: Using this node requires the WSF license option.

Unset a JSON attribute entry.

Parameters

  • Display name : the name of the node as it will appear in the Workflow. Replaces the term “JSON Attribute Unset”.
  • JSON Attribute Name : JSON attribute that contains the value to remove.
  • JSON Pointer : value of JSON Pointer used to remove this value.

    JSON Pointer is a standard syntax (RFC6901) used to select a value in a JSON Doc. A JSON Pointer points a single value.

    A JSON Pointer is a list of 0 to n token, each prefixed by /. Each token can be a character string or a number. See some examples.

    input JSONJSON Pointeroutput JSON
    {

    "user": "support"
    }

    /user

    {}

    {
    "user": {
    "email": "support@denyall.com",
    "phone": [
    "01 23 45 67 89",
    "456 8997 85"
    ]
    }
    }

    /user/phone{ "user": { "email": "support@denyall.com" } }
    {
    "user": {
    "email": "support@denyall.com",
    "phone": [
    "01 23 45 67 89",
    "456 8997 85"
    ]
    }
    }
    /user/phone/0{
    "user": {
    "email": "support@denyall.com",
    "phone": [
    "456 8997 85"
    ]
    }
    }

Required attributes

This node requires no attribute.

Provided attributes

This node provides "json.failure" and "json.err_message" attributes. The "json.failure" attribute (Boolean) will be set to "true" if a processing error occurs. The "json.err_message" attribute will then be filled in to provide a message about the error that was raised.

When a processing error occurs, the JSON attribute is not modified.

  • No labels