The Norway Problem

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • pyyaml

    Canonical source repository for PyYAML

  • edn

    Extensible Data Notation

    Seems you're missing my personal favorite, extensible data notation - EDN ( Probably I'm a bit biased coming from Clojure as it's widely used there but haven't really found a format that comes close to EDN when it comes to succinctness and features.

    Some of the neat features: Custom literals / tagged elements that can have their support added for them on runtime/compile time (dates can be represented, parsed and turned into proper dates in your language). Also being able to namespace data inside of it makes things a bit easier to manage without having to result to nesting or other hacks. Very human friendly, plus machine friendly.

    Biggest drawback so far seems to be performance of parsing, although I'm not sure if that's actually about the format itself, or about the small adoption of the format and therefore not many parsers focusing on speed has been written.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • jsonnet

    Jsonnet - The data templating language

    For hand-writing I love jsonnet, which produces JSON, is much more convenient to write, and has some templating, functions etc.

    You wouldn't serialize data structures to jsonnet though, you'd just generate JSON.

  • yamllint

    A linter for YAML files.

    You can catch this with yamllint (

        % cat countries.yml

  • dhall-lang

    Maintainable configuration files

  • strictyaml

    Type-safe YAML parser and validator.

    Not YAML by itself, but there are libraries that parse a YAML-like format that is typed. For example this one: Technically, it is not compatible with the YAML spec.

  • kubernetes

    Production-Grade Container Scheduling and Management

    Reminds me of the multiple YAML bugs that have plagued Kubernetes such as

    It is interesting how the standard of any language seems to diverge due to just the implementation from different parsers.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • cue

    CUE has moved to (by cuelang)

    Cue also solves this problem. The "no" example is right on the front page:

    I used it for configuration of a Go program recently and found it pleasant to work with. I hope the language is declared stable soon, because it's a good model.

  • awesome-json-next

    A Collection of What's Next for Awesome JSON (JavaScript Object Notation) for Structured (Meta) Data in Text - JSON5, HJSON, HanSON, TJSON, SON, CSON, USON, JSONX/JSON11 & Many More

    You might look at JSON Next variants (if you remember - "classic" JSON is a subset of YAML), see

    my own little JSON Next entry / format is called JSON 1.1 or JSONX, that is, JSON with eXtensions, see

  • cson

    CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.

    I prefer JSON over YAML because I spend more time confused and burned by the problems caused by it.

    I understand that people don't like directly use JSON because it's not very friendly: no comments, no multi-line string, etc.

    A great alternative IMHO is cson[0]. It's like JSON to JavaScript but for CoffeeScript (though nobody talks about it nowadays). It has indentation-based syntax, comments, and multiline string which usually don't need to escape. The advantage is it's close enough to JSON which is the canonical format that everybody can agree on nowadays. For YAML and TOML there are too many visual part-aways from JSON.

    Or just create a JSON variant that enables comments and the backtick multiline string from JavaScript.


  • ron

    Rusty Object Notation

  • groq-test-suite

    GROQ test suite

    TOML also has a few restrictions, such as not supporting mixed-type arrays like [1, "hello", true], or arrays at the root of the data. JSON can represent any TOML value (as far as I know), but TOML cannot represent any JSON value.

    At my company we use YAML a lot for table-driven tests (e.g. [1]), and this not only means lots of nested arrays, but also having to represent pure data (i.e. the expected output of a test), which requires a format that supports encoding arbitrary data structures.


  • tao-data-js

    TAO data JavaScript module

    Still early, but here's my baby I hope can improve things:

    website with grammar spec:

    prototype of a JSON/YAML alternative for JS:

    same thing, even less finished for C#:

    working on it constantly, more to come soon

  • tao-data-csharp

    C# TAO data library

    Still early, but here's my baby I hope can improve things:

    website with grammar spec:

    prototype of a JSON/YAML alternative for JS:

    same thing, even less finished for C#:

    working on it constantly, more to come soon

  • lua-patterns

    Exposing Lua string patterns to Rust

    If you want automatic built-in string validation, one option that seems particularly interesting is to use a variant of Lua patterns, which are weaker and easier to understand than regular expressions, but still provide a significant degree of "sanity" for something like an email. The original version works on bytes and not runes, but you could simply write a parser that works on runes instead, and the pattern-matching code is just 400 old and battle-tested lines of C89.

    Lua patterns have also shown up in other places, such as BSD's httpd, and an implementation for Rust:


    Source Code for

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts