From a DB to JSON with Crystal
From a DB to JSON with Crystal
I wrote about reading data from a database and turning it into JSON in Crystal, with an emphasis on small, typed services that are easy to reason about. It is a practical look at shaping raw data into clean API responses. You can read the full article here: From a DB to JSON with Crystal.