Erlang: ZJ v1.0.1 + JSON Test Suite (aka “What happens when you go public”)

TL;DR ZJ has been run through the JSON Test Suite at the recommendation of MichaÅ‚ MuskaÅ‚a, patched for compliance to all the cases required (and many optional behaviors), and now updated to v1.0.1. Complete results on this ZJ wiki page. Story When I wrote ZJ my intention was only to scratch my own little itch: […]

Your tests don’t tell you what you think they do

Yesterday I wrote a tiny JSON encoder/decoder in Erlang. While the Erlang community wasn’t in dire need of yet another JSON parser, the ones I saw around do things just a tiny bit differently than I want them to and writing a module against RFC-8259 isn’t particularly hard or time consuming. Someone commented on (gasp!) […]

Tiny strings-as-strings JSON in portable Erlang

There are several JSON libs for Erlang at this point, and as there is no correct mapping between JSON types and Erlang types, all make different tradeoffs that either work or don’t for your project. Beyond that, various interface and implementation differences exist due to the tradeoffs inherent in manipulating elements of the Black Tongue […]