Forum Discussion

Manigandan's avatar
Manigandan
New Contributor II
2 years ago

How to fetch value from array?

Hello Team,

I have the below array and I need to fetch the filename where active=1. Please can you help me on this.

“array” : [
{
“active”: 0,
“fileName”: “test.pdf”
},
{
“active”: 1,
“fileName”: “test1.pdf”
}
]

Thanks in advance!

2 Replies