Serialization, JSON, and Distributed Systems

Photo by Jonathan Pielmayer on Unsplash. It’s pickles, because “Pickling” is a form of Python object serialization, even though we won’t talk about that today :)

Working with a teammate who was running into an error recently when testing their work in the staging environment, that they hadn’t seen when developing locally. This was the error they were seeing:

TypeError: <Object> is not JSON serializable

But, “I’m not calling json.dumps() on anything!” they said. And sure enough, they weren’t. But they were enqueueing…

--

--

Senior Software Engineer | www.adriennedomingus.com

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store