--- layout: page title: "Deserializing JSON data into strictly-typed Python objects" description: "A quick overview of Samuel Colvin's pydantic library" date: 2020-12-17 09:00:00 written: 2020-11-26 categories: project python short excerpt: >- Performing some upgrades to my old laptop. This post outlines the setup process for installing GalliumOS redirect_from: - /post/gasdkd43/ - /gasdkd43/ --- I recently found myself looking for a simple way to deserialize JSON data into a Python object. In Java, Google's [`Gson`]() library is a no-brainer, as it will convert JSON data into a Java object in 2 to 3 lines of code. https://github.com/samuelcolvin/pydantic/