JSON - The Fine Print

Miki Tebeka Miki Tebeka
Language: Hebrew
video in Hebrew
The presentation was given on 2022.06.28 at PyCon Israel 2022 - Conference.

In this talk we'll discuss the finer points of working with JSON. We'll cover custom serialization, validation, and shine some lights at some darker corners.

Why does the following code prints False?

python outgoing = (1, 2, 3) data = json.dumps(outgoing) incoming = json.loads(data) print(outgoing == incoming)

In this talk, we'll cover more advanced topics in JSON serialization. We'll look into serialization in general, look at some design decisions the Python JSON module does and look into custom serialization and streaming.