1.0.0 • Published 2 years ago
dictionary-node v1.0.0
dictionary-node
dictionary node for node-red
A dictionary is a general-purpose data structure for storing a group of objects.It is a set of keys and each key has a single associated value.
Example of dictionary
{
"living": {
"men": "20",
"women": "10",
"children": "3"
},
"nonliving": {
"table": "6"
},
"food items": "10"
}
What this node do :
this node takes a dictionary/json and allows user to create a other dictionary, based on user keys and value ( path of objects )
Input:
{
"living": {
"men": "20",
"women": "10",
"children": "3"
},
"nonliving": {
"table": "6"
},
"food items": "10"
}
Output:
{
"living men": "20",
"nonliving table": "6"
}
Node config :
Output :
1.0.0
2 years ago