Introduction: JSON (JavaScript Object Notation) is a widely used data interchange format, especially in web development and configuration management. When dealing with JSON data, it's common to encounter scenarios where you need to compare two JSON o...

Markdown supported · ⌘↵ to post
Hugo Gonçalves
Hello, I saw this article which I found interesting and thank you in advance. However, when I run the code I get the following error:
Traceback (most recent call last): File "C:\Users\Hugo.f.Goncalves\desktop\deepdiff\deepdiff_example.py", line 37, in print(f"{change}: {changes[change]}") ~^^^^^^^^ File "C:\Users\Hugo.f.Goncalves\AppData\Local\Programs\Python\Python312\Lib\site-packages\orderly_set\sets.py", line 136, in getitem return [items[i] for i in index] ~~~^^^ TypeError: list indices must be integers or slices, not str
Can you help? Thank you