Forum Discussion

jfpelletier's avatar
jfpelletier
Contributor
10 months ago
Solved

How to get all values of a key from objects in a list?

Hello all, I'm a bit blocked at the moment, hopefully someone can help me again... πŸ™‚ This time I have simple objects stored in an array that looks like this: [ { "language": "German", "id":...
  • ddellsperger's avatar
    10 months ago

    If your data is a field like languages, you could use $languages.map(obj => obj.language) to pull just those values out.