Orjson - a better JSON serialiser / deserialiser for Python - Advent of Code 2021

Orjson - a better JSON serialiser / deserialiser for Python - Advent of Code 2021

Sometimes json.dumps aren't as good as they should be, and you want to do something that's just ... well... better. Well, enter orjson - a library which is both faster and better at doing these things! What I like about this library is that it's usable in a lot of cases around nicer object deserialisation than the plain JSON lib is - if you only work in primitives or hand crank your output from API's then this library might be the answer for you. This is part of our 24 python libraries in 24 days for Advent. It's a great little series that's doing a very brief look at a bunch of libraries.