Software Alternatives, Accelerators & Startups

Jsonnet VS JSONLint

Compare Jsonnet VS JSONLint and see what are their differences

Jsonnet logo Jsonnet

A powerful DSL for elegant description of JSON data.

JSONLint logo JSONLint

JSON Lint is a web based validator and reformatter for JSON, a lightweight data-interchange format.
  • Jsonnet Landing page
    Landing page //
    2023-05-26
  • JSONLint Landing page
    Landing page //
    2023-06-18

Jsonnet videos

Jsonnet

More videos:

  • Review - Using Jsonnet to Package Together Dashboards, Alerts and Exporters - Tom Wilkie
  • Review - Webinar: Writing Less YAML – Using jsonnet and kubecfg to Manage Kubernetes Resources

JSONLint videos

No JSONLint videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to Jsonnet and JSONLint)
Configuration Management
100 100%
0% 0
Development
4 4%
96% 96
Mobile Apps
100 100%
0% 0
Image Optimisation
0 0%
100% 100

User comments

Share your experience with using Jsonnet and JSONLint. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, JSONLint should be more popular than Jsonnet. It has been mentiond 131 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Jsonnet mentions (32)

  • A Reasonable Configuration Language
    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... - Source: Hacker News / 4 months ago
  • Pkl, a Programming Language for Configuration
    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/528b00cd5c3a22e3d8f057bb1a75ea61 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... - Source: Hacker News / 4 months ago
  • What Is Wrong with TOML?
    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... - Source: Hacker News / 9 months ago
  • That people produce HTML with string templates is telling us something
    Apologies for the lack of context, and for missing this comment until today. Both are tools for defining kubernetes manifests (which are YAML) in a reusable manner. Jsonnet is a formally specified extension of JSON. It’s essentially a functional programming language (w/some object oriented features) that generates config files in JSON/YAML/etc, so it’s straightforward to determine whether an input file is valid,... - Source: Hacker News / about 1 year ago
  • TOML: Tom's Obvious Minimal Language
    I like Google's Jsonnet [1], which has all of this except for 4. Jsonnet is quite mature, with fairly wide language adoption, and has the benefit of supporting expressions, including conditionals, arithmetic, as well as being able to define reusable blocks inside function definitions or external files. It's not suitable as a serialization format, but great for config. It's popular in some circles, but I'm sad that... - Source: Hacker News / about 1 year ago
View more

JSONLint mentions (131)

  • A little help with some server side work please
    You could, but just as easy to put it here - https://jsonlint.com/. Source: 6 months ago
  • How to convert an automation Mod into a full-fledged BeamNG Mod. Mental state: Catharsis. PT. 2
    Json doesn't have comments because the designer of the language didn't like them. So if you come from any other programming language, know that's why you might be having issues (like me!). Check your Json out here . Also Beam keeps a separate copy of your materials in a BeamNG Personal, under vehicles. So changing code doesn't always show up unless you clear your cache. That is also the folder where where any... Source: 9 months ago
  • Would like to see the current datalog db schema
    I found that I can open my db in a text editor and paste it into https://jsonlint.com and clean it up to be quite readable. Source: 10 months ago
  • I found a few sites that should help with character definitions.
    Another is for those who are working on using JSON as a definition. JSONLint helps with verifying if your code is valid or not. This can help a lot. Source: 11 months ago
  • help needed with an Arma Reforger Server JSON
    There are a number of errors in your JSON, I would suggest running it through an online json validator such as https://jsonlint.com/ which should help you fix them! Source: 12 months ago
View more

What are some alternatives?

When comparing Jsonnet and JSONLint, you can also consider the following products

Dhall Configuration Language - A non-repetitive alternative to YAML

JSONFormatter.org - Online JSON Formatter and JSON Validator will format JSON data, and helps to validate, convert JSON to XML, JSON to CSV. Save and Share JSON

YAML - YAML 1.2 --- YAML: YAML Ain't Markup Language

JSON Editor Online - View, edit and format JSON online

Protobuf - Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.

JSON Formatter & Validator - The JSON Formatter was created to help with debugging.