Array Property Omit Documentation
Version: 1.0.0
Retrieved: 2025-10-09 15:15:12
Array Property Omit
Omits Properties to Omit from all objects in Source Property and creates a new array of objects without the omitted properties, and writes the result to Target Property.
Possible errors
If the value of Source Property is not an array of objects, the module will warn and will not send a message to modules connected to it.
Settings
| Name | Requirements | Purpose | Default |
|---|---|---|---|
| Source property | String 1-64 in length | The property containing the object to convert | data |
| Target property | String 1-64 in length | The property to write the array to | data |
| Properties to Omit | List of strings | The properties to omit | data |
Example
# Settings:
Source Property = data
Target Property = data
Properties to Omit = ["key", "temperature"]
# Incoming messages:
{
"data": [
{
"key": "sensor_1",
"temperature": 31.1,
"location": [10, 11]
},
{
"key": "sensor_2",
"temperature": 32.2,
"location": [12, 13]
},
{
"key": "sensor_3",
"temperature": 33.3
},
{
"key": "sensor_4",
"temperature": 34.4,
"location": [14, 15]
}
]
}
# Outgoing message:
{
"data": [
{
"location": [10, 11]
},
{
"location": [12, 13]
},
{
},
{
"location": [14, 15]
}
]
}
NOTE:
- The order of the objects are kept from input.
Search Documentation