dnjs VS jsonnet

Compare dnjs vs jsonnet and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dnjs jsonnet
1 52
134 7,143
0.0% 0.7%
0.0 8.3
almost 4 years ago 2 days ago
Go Jsonnet
MIT License Apache License 2.0
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.

dnjs

Posts with mentions or reviews of dnjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-14.

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 2025-03-23.
  • Standard ML idiosyncrasies
    3 projects | dev.to | 23 Mar 2025
    I've been reading the book Modern Compiler Implementation in ML lately. It's been helpful to brush up on some concepts while developing Tsonnet (my typed-aspiring Jsonnet flavor) and I hope to learn a ton more. However, I'm growing dissatisfied with some details -- not specifically the book, but the choice of the development environment.
  • jsonnet VS rcl - a user suggested alternative
    2 projects | 15 Mar 2025
  • Tsonnet, a humble beginning
    2 projects | dev.to | 22 Jan 2025
    For the past 2 years, I've been working extensively with Jsonnet, a configuration language that augments JSON and helps eliminate repetition in our config files. It has its limits (many by design), which keeps the language simple to use. But there's one thing that keeps nagging at me when I'm deep in the code: what's the shape of the input or output of this function? And wouldn't it be great if we could type objects and completely ditch those validators checking value types? Having a compiler handle all that would be sweet. I'm not alone here – I've talked to plenty of folks who'd love this feature too.
  • Kubernetes 101: Introduction
    2 projects | dev.to | 30 Jul 2024
    Kubernetes does not provide or require a configuration language like Jsonnet, as it provides a declarative API that can be used with different types of declarative specifications.
  • A Reasonable Configuration Language
    1 project | news.ycombinator.com | 4 Feb 2024
    jsonnet[1] and kapitan[2] are the tools I currently use. Their learning curve is not optimal (and I tried to contribute to smoothen it with a jsonnet course[3] and a 'get started wit kapitan' blog post[4]), but once used to it it's hard to do without, and their combination makes them even more useful (esp. if you deploy K8s).

    In Ruud's case, Jsonnet might have been worth looking at as Hashicorp tools can be configured with json in addition to HCL. But that would have been less fun I guess ;-)

    I hope for Ruud it finds its niche, there's quite some competition in this field!

    1: https://jsonnet.org/

  • Pkl, a Programming Language for Configuration
    12 projects | news.ycombinator.com | 2 Feb 2024
    Kubernetes config is a decent example. I had ChatGPT generate a representative silly example -- the content doesn't matter so much as the structure:

    https://gist.github.com/cstrahan/528b00cd5c3a22e3d8f057bb1a7...

    Now consider 100s (if not 1000s) of such files.

    I haven't given Pkl an in depth look yet, but I can say that the Industry Standard™ of "simple YAML" + string substitution (with delicate, error prone indentation -- since YAML is indentation sensitive) is easily beat by any of:

    - https://jsonnet.org/

    - https://nickel-lang.org/

    - https://nixos.org/manual/nix/stable/language/index.html

    - https://dhall-lang.org/

    - (insert many more here, probably including Pkl)

  • Introduction to Jsonnet: The YAML/JSON templating language
    2 projects | dev.to | 24 Jan 2024
    jsonnet cli: link
  • 10 Ways for Kubernetes Declarative Configuration Management
    23 projects | dev.to | 1 Jan 2024
    Jsonnet: A data template language implemented in C++, suitable for application and tool developers, can generate configuration data and organize, simplify and manage large configurations without side effects.
  • -❄️- 2023 Day 4 Solutions -❄️-
    143 projects | /r/adventofcode | 5 Dec 2023
    [Language: Jsonnet] (on GitHub)
  • What Is Wrong with TOML?
    15 projects | news.ycombinator.com | 13 Sep 2023
    Maybe you'd like jsonnet: https://jsonnet.org/

    I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).

    Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/

    A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet

What are some alternatives?

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

nestedtext - Human readable and writable data interchange format

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

typescript-json-schema - Generate json-schema from your Typescript sources

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

isopod - An expressive DSL and framework for Kubernetes configuration without YAML

dhall-lang - Maintainable configuration files

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Go is
the 4th most popular programming language
based on number of references?