Lines Matching refs:structure
729 def nested_get(key_name, structure): argument
765 if type(structure) is list:
766 for entry in structure:
769 elif gp.is_dict(structure):
770 for key, value in structure.items():
778 def match_struct(structure, match_dict, regex=False): argument
816 struct_key_values = nested_get(match_key, structure)
838 def filter_struct(structure, filter_dict, regex=False, invert=False): argument
902 if type(structure) is list:
904 for element in structure:
912 for struct_key, struct_value in structure.items():