AIOconnect Helpers¶
List of Functions¶
Definition of Functions¶
Extract nested values from a JSON tree.
- aioconnect.helpers.get_values(json_data: list, key: str = '_id') → list¶
Get the value for a key from a list of JSON objects.
- Parameters
- json_datalist
List of JSON objects.
- keystr, optional
The key for which the value should be returned, by default “_id”.
- Returns
- list
List of the values.