(obj)
| 174 | |
| 175 | |
| 176 | def convert_keys_to_lowercase(obj): |
| 177 | if isinstance(obj, dict): |
| 178 | return {k.lower(): convert_keys_to_lowercase(v) for k, v in obj.items()} |
| 179 | elif isinstance(obj, list): |
| 180 | return [convert_keys_to_lowercase(i) for i in obj] |
| 181 | else: |
| 182 | return obj |
| 183 | |
| 184 | |
| 185 | def case_insensitive_json_loads(json_str): |
no test coverage detected