♫musicjinni

How I work with JSON - Einar Høst - NDC Oslo 2022

video thumbnail
JSON is everywhere. It is the de facto standard for web API responses, database documents, blobs and messages. JSON's simplicity and versatility has been instrumental in its rise to prominence. And yet in practical software projects, we often find that working with JSON is not so simple after all. The code that handles JSON is often a fertile breeding ground for bugs and other problems. Slack channels fill up with discussions about how JSON serializers have been or should be configured, and whether or not there have been any changes lately. There are quibbles over broken assumptions with respect to what constitutes a "valid data" in a given context. But these are all accidental problems, not inherent in JSON itself. In this talk, I'll share my tips and tricks for regaining the simplicity of JSON, and reducing the number of JSON-related problems to a minimum. These include keeping JSON serializer settings as simple as possible, making assumptions about valid data explicit through JSON Schema, and working with testing tools that understand JSON structure.


Check out more of our featured speakers and talks at
https://ndcconferences.com/
https://ndcoslo.com/

How I work with JSON - Einar Høst - NDC Oslo 2022

Disclaimer DMCA