Home
last modified time | relevance | path

Searched refs:json_element (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/tools/
H A Dvalidate-regulators-config.py20 def get_values(json_element, key, result=None): argument
32 if type(json_element) is dict:
33 for json_key in json_element:
35 result.append(json_element[json_key])
36 elif type(json_element[json_key]) in (list, dict):
37 get_values(json_element[json_key], key, result)
38 elif type(json_element) is list:
39 for item in json_element: