iaa_od.utils.json_to_int_list

iaa_od.utils.json_to_int_list(json_input)[source]

Converts a JSON string or a list of integers into a list of integers.

Parameters:

json_input (Union[str, list]) – A JSON string representing a list of integers or a list of integers.

Returns:

A list of integers extracted from the JSON input.

Return type:

list[int]