We've already learned about pickle, so why do we need another way to
(de)serialize Python objects to(from) disk or a network connection?
There are three major reasons to prefer JSON over pickle:
When you're unpickling data, you're essentially allowing your data
source to execute arbitrary ...