JSON
-
Software Development
All Our Assertion Problems
When our software outputs JSON, it can be hard to test. Consider this code: 1 2 assertThat(someJson) .isEqualTo(expectedJson); Assuming the…
Read More » -
Enterprise Java
Command-line JSON processing with jq
In this post we will learn how to parse, pretty-print and process JSON from the command-line with jq. At the…
Read More » -
Enterprise Java
Integrating JSON Schema validation in Spring using a custom HandlerMethodArgumentResolver
In previous posts we learned about JSON Schema and how we can validate a JSON document against a JSON Schema…
Read More » -
Enterprise Java
JSON Schema validation in Java
In this post we will see how to validate a JSON document against a JSON Schema in Java. We will…
Read More » -
Enterprise Java
Validating and documenting JSON with JSON Schema
JSON Schema is a way to describe a JSON document. You can think of XML Schema for JSON. It allows…
Read More » -
Software Development
Data encoding and storage
Data encoding and storage formats are evolving fields. It has seen so many changes starting from naive text-based encoding to…
Read More » -
Enterprise Java
Expressing a conditional expression using Json – Java Implementation
I had a need recently to express a conditional expression in a form that a front end Javascript application and…
Read More » -
DevOps
Escape JSON property names in jq
I’m using the command line a lot and jq is a helpful tool for dealing with JSON data. You can…
Read More » -
Enterprise Java
In praise of the thoughful design: how property-based testing helps me to be a better developer
The developer’s testing toolbox is one of these things which rarely stays unchanged. For sure, some testing practices have proven…
Read More »