{
"data": {
"values": [ "value1", "value2" ]
}
}
When accessing an element of a dict data as {{data[values]}} or {{data.values}} it expect to get the corresponding value as a result, but it throws error <built-in method values of dict object at 0x7f0a12b79af8>.
To get corresponding value in such case use .get() as below
{{data.get('values')}}
OUTPUT:
['value1', 'value2']
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.