This custom node is a simple node that decodes forbidden characters.
Characters | Decoded character |
---|---|
%22 | " |
%25 | % |
%27 | ' |
%28 | ( |
%29 | ) |
%3B | ; |
%3C | < |
%3D | = |
%3E | > |
Property | Description |
---|---|
Name | A name for a node instance |
payload string
A msg.payload
should contain a string.
%3CSensor%3E
payload string
A msg.payload
contains a string.
<Sensor>
statusCode Number
A msg.statusCode
contains a status code.
200
payload JSON Object
A msg.payload
should contain a NGSI-LD data.
{
"id": "urn:ngsi-ld:TemperatureSensor:001",
"type": "TemperatureSensor",
"name": "%3CSensor%3E"
}
payload JSON Object
A msg.payload
contains a NGSI-LD data.
{
"id": "urn:ngsi-ld:TemperatureSensor:001",
"type": "TemperatureSensor",
"name": "<Sensor>"
}
statusCode Number
A msg.statusCode
contains a status code.
200
payload JSON Array
A msg.payload
should contain a NGSI-LD data.
[
{
"id": "urn:ngsi-ld:TemperatureSensor:001",
"type": "TemperatureSensor",
"name": "%3CSensor%3E"
}
]
payload JSON Array
A msg.payload
contains a NGSI-LD data.
[
{
"id": "urn:ngsi-ld:TemperatureSensor:001",
"type": "TemperatureSensor",
"name": "<Sensor>"
}
]
statusCode Number
A msg.statusCode
contains a status code.
200