jsonnet

Jsonnet - The data templating language (by google)

Jsonnet Alternatives

Similar projects and alternatives to jsonnet

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better jsonnet alternative or higher similarity.

jsonnet reviews and mentions

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 2023-01-13.
  • Cue Wins
    2 projects | news.ycombinator.com | 13 Jan 2023
    Same as Jsonnet but it's only a small part of the picture. For someone who use JSON, I expect the adoption of CUE to be incremental but in reality I need to use CUE's own syntax to get the value out of it. Jsonnet was was closer to to the mindset that I have with that respect. Some context: https://github.com/google/jsonnet/issues/605#issuecomment-72...
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    I wonder why generated JSON is not used more widely, something like jsonnet[0], although I've never used it.

    Most systems come with Python 3 installed, which supports working with JSON[1] without installing any dependencies. So, I'm wondering if we could use Python to generate JSON data that is then consumed by other tools. This would fix the lack of comments and trailing commas in JSON, you get functions and other abstractions from Python, and you don't need to install any third-party tools (vs. something like jsonnet).

    [0]: https://jsonnet.org/

    [1]: https://docs.python.org/3/library/json.html

  • What tech stack do you use at work? What's your favourite one?
    3 projects | reddit.com/r/java | 21 Dec 2022
    fwiw, jsonnet was a breath of fresh air to help tackle our configuration complexity.
  • -🎄- 2022 Day 21 Solutions -🎄-
    124 projects | reddit.com/r/adventofcode | 20 Dec 2022
    sed to generate a Jsonnet program for part 1:
  • Should i migrate from Kustomize to Helm?
    6 projects | reddit.com/r/devops | 25 Nov 2022
    We experimented with Jsonnet and Dhall as languages that allow you to compose structured text files rather than template then. With hindsight I can tell you that the supporting tooling (linting, testing, package management) never materialized for Jsonnet, and Dhall is too complex unless you have a lot of Haskell devs.
  • Nginx ingress controller: how to insert whitelist-source-range annotations globally, but conditionally at the same time?
    2 projects | reddit.com/r/devops | 27 Oct 2022
    You can do this sort of thing (and generally keeping everything DRY) by generating your manifests programatically. I use jsonnet (https://jsonnet.org/) to generate k8s manifests, but there are other tools...
  • Why We Use CUE (and Not Helm)
    5 projects | dev.to | 9 Oct 2022
    Jsonnet promises to be JSON plus templating, and that's exactly what it delivers. It allows you to include other files and has many useful features such as variables and functions. Jsonnet overall was a pretty decent experience, and we could've stopped there.
  • Managing multiple repos
    2 projects | reddit.com/r/kubernetes | 26 Sep 2022
    You can use JSONNET and 'std.parseYaml' function for more precision tuning.
  • We want to make Nix better
    17 projects | news.ycombinator.com | 2 Sep 2022
    > To seriously answer the question: is the Nix language required for the Nix packaging system to exist? Laziness is required, to some degree, but can the next iteration provide an on-ramp which doesn't involve learning a new lang and paradigm? Guix folks sure think so.

    I'd love to hear from someone deeply familiar with Nix and Guix about laziness.

    I'm deeply familiar with Nix and I've concluded that lazy semantics is absolutely critical for a configuration language. It lets me refer to other attributes of my configuration from anywhere. For example, I can refer to port number from my whatever service in my firewall. Nix's system of overlays depends on laziness too to provide efficient late-binding familiar from OOP.

    I don't need to topologically sort the evaluation of the various inter-dependencies of my configuration. So long as there exists an evaluation order, laziness finds it.

    Laziness is compelling enough that I managed to convince the author of Jsonnet <https://jsonnet.org/> of it when he was designing it, and in turn he helped me design what is now known as overlays in Nix.

    I don't even understand how Guix manages to work without laziness, though clearly it does somehow. I'm curious as to how that is possible, though I fear I will only ever truly understand by diving into Guix.

  • Falling for Kubernetes
    11 projects | news.ycombinator.com | 9 Aug 2022
    > As an aside, the existence of the '{{ | indent 4 }}' function in helm should disqualify it from any serious use. Render, don't template.

    This. My first thought when I saw the indentation hack was "it can't be a serious, production-ready software".

    My take on this is as follows.

    If you have a simple use case, write your K8s manifests directly.

    If you have a complex use case, Helm is often more pain than its worth. Use alternatives, for example Jsonnet[0] with kubecfg[1]. Or emit manifests from your language of choice. Just don't use Helm.

    [0]: https://jsonnet.org/

  • A note from our sponsor - #<SponsorshipServiceOld:0x00007fea59942b68>
    www.saashub.com | 4 Feb 2023
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic jsonnet repo stats
34
6,024
5.4
11 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com