helper.entries2object
Creating an object from a specified array of key-value pairs.
For example, let's say you have an array like this:
[
{
"key": "foo",
"value": "hello"
},
{
"key": "bar",
"value": "world"
}
]
It is converted to an object whose elements consist of the values of the original array:
{ "foo": "hello", "bar": "world" }
Component properties
Name |
Type |
Description |
|
"helper.entries2object" |
Set component type |
|
array |
Source array of key-value pairs. |
|
object |
Object parameters. |
|
string |
Key. |
|
any |
Value. |