jsonnet VS cson

Compare jsonnet vs cson and see what are their differences.

jsonnet

Jsonnet - The data templating language (by google)

cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects. (by bevry)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jsonnet cson
48 1
6,726 1,334
1.4% -0.1%
8.4 5.7
5 days ago 3 months ago
Jsonnet CoffeeScript
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jsonnet

Posts with mentions or reviews of jsonnet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-02.

cson

Posts with mentions or reviews of cson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • The Norway Problem
    18 projects | news.ycombinator.com | 3 Apr 2021
    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.

    [0] https://github.com/bevry/cson

What are some alternatives?

When comparing jsonnet and cson you can also consider the following projects:

kube-libsonnet - Bitnami's jsonnet library for building Kubernetes manifests

dhall-lang - Maintainable configuration files

cue - CUE has moved to https://github.com/cue-lang/cue

cue - The home of the CUE language! Validate and define text-based and dynamic configuration

json5 - JSON5 — JSON for Humans

cdk8s - Define Kubernetes native apps and abstractions using object-oriented programming

Protobuf - Protocol Buffers - Google's data interchange format

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀

toml.io - Source Code for toml.io

lua-patterns - Exposing Lua string patterns to Rust

s6 - The s6 supervision suite.

strictyaml - Type-safe YAML parser and validator.