Skip to content

Comment on Loading Pydantic models from JSON without running out of memory

Comments

I'd like to see a comparison of ijson vs just `json.load(f)`. `ujson` would also be interesting to see.

For my PyCon 2025 talk I did this. Video isn't up yet, but slides are here: https://pythonspeed.com/pycon2025/slides/

The linked-from-original-article ijson article was the inspiration for the talk: https://pythonspeed.com/articles/json-memory-streaming/

I have a side question -- what did you use for slides?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.