3 ms·
In what client server situation does it make sense to use pickles over JSON/YAML?
by manicdee 6y ago
In what client server situation does it make sense to use pickles over JSON/YAML?
- hyperpape 6y agoNone, except when you're taking a huge shortcut. Which is why you want to be super cautious about using Pickle, or Java serialization, or any serialization solution that deserializes arbitrary objects. Once your deserialization isn't explicit about what objects you accept, you have to be super careful about the provenance of that data.
- price 6y agoLike hyperpape said, virtually none. And this point is the biggest reason why. The article is, after all, about reasons not to use pickle. :-)