Pluck Property

Extract a specific property value from each object in an array.

Code

General
[item[key] for item in arr]

Parameters

Array of objects

Property to extract

Server

More Python Snippets