victoria-dom VS jsonnet

Compare victoria-dom vs jsonnet and see what are their differences.

victoria-dom

HTML parser with CSS selectors written in Rust (by khvzak)

jsonnet

Jsonnet - The data templating language (by google)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
victoria-dom jsonnet
1 18
43 5,523
- 1.6%
10.0 6.7
almost 3 years ago 24 days ago
Rust Jsonnet
GNU General Public License v3.0 or later 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.

victoria-dom

Posts with mentions or reviews of victoria-dom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-25.
  • Are there any rust libraries implementing a CSS-like language?
    7 projects | reddit.com/r/rust | 25 Sep 2021
    You could use https://lib.rs/crates/cssparser + https://lib.rs/crates/selectors - or, if you are willing to convert your tree to DOM just for querying, there are other libraries like https://lib.rs/crates/simplecss, https://lib.rs/crates/nipper, https://github.com/kuchiki-rs/kuchiki or https://github.com/khvzak/victoria-dom

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 2022-04-24.
  • More work
    1 project | reddit.com/r/ProgrammerHumor | 9 May 2022
    you still use JSON? have you heard of https://jsonnet.org/ ? yaml?
  • Nix and NixOS Get So Close to Perfect
    11 projects | news.ycombinator.com | 24 Apr 2022
  • Config file formats suck
    4 projects | reddit.com/r/ProgrammerHumor | 20 Apr 2022
    If you needs templating you can use jsonnet: https://jsonnet.org/ if you need scheme constraints you can use JSON-SCHEME: https://json-schema.org/ That is the whole design you add on what you need for your specific requirements. This gets back to the core philosophy of the Unix way vs something like JEE. The Unix way, is that you add on the functionality you need via pluggable parts as you need them. The JEE way is the same as the Angular way, the same as any other opinionated way, and that is trust us that we made all the right decisions for you, and it is rarely the case. A JSON based information transport solution with jsonnet bolted on top of it if you need templating, is far more robust than YAML. Because when you don't need templating you can just treat it as simple JSON.
  • Jo – a shell command to create JSON
    14 projects | news.ycombinator.com | 5 Feb 2022
    "Even though Python isn't the fastest language out there, it's likely still faster than the shell command above."

    That is going a bit far. By all means use Python. Go ahead and attack people who use the shell. But let's be honest. The shell is faster, assuming one knows how to use it. A similar claim is often made by Python advocates, something along the lines of Python is not slow if one knows how to use it.

    The startup time of a Python interpreter is enormous for someone who is used to a Bourne shell. This is what always stops me from using Python. If anyone knows how to mitigate that delay, feel free to share.

    Anyway, this "jo" thing seems a bit silly. Someone at Google spent their 20% time writing a language called jsonnet to emit JSON. It has been discussed on HN before. People have suggested dhall is a perhaps better alternative.

    https://jsonnet.org

    https://dhall-lang.org

  • Jsonnet – A Data Templating Language
    1 project | news.ycombinator.com | 19 Dec 2021
  • Alternatives to Terragrunt
    1 project | reddit.com/r/devops | 8 Dec 2021
    I generate terraform from jsonnet to get rid of repetition. See https://jsonnet.org/.
  • Do DevOpers Use JSONNET?
    1 project | reddit.com/r/devops | 7 Dec 2021
    I have heard about jsonnet.org and wanted to know how is it used in Stack Setup and what is the motivation behind Creation of Configuration Files through Variables and Programming Logic?
  • Tips on Adding JSON Output to Your CLI App
    20 projects | news.ycombinator.com | 5 Dec 2021
  • Best struct merge function design?
    1 project | reddit.com/r/golang | 30 Nov 2021
    If your use-case is parsing and overriding some JSON configuration, you might want to take a look at JSONNET - https://jsonnet.org/, a language that is commonly used within Google to manage different configurations. It is basically an extension to JSON with different merge operators. For example ``key: ['value']`` overrides the previous list, while ``key+: ['value']`` extends the list. Overriding / extending objects works similarly. Overriding bools could be done with ``{hasCarnivores: !super.hasCarnivores}`` for example.
  • The Perfect Configuration Format? Try TypeScript
    17 projects | news.ycombinator.com | 17 Nov 2021
    No type support but I find jsonnet [0] pretty useful when you have tons of configuration files.

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

What are some alternatives?

When comparing victoria-dom and jsonnet you can also consider the following projects:

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

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

dhall-lang - Maintainable configuration files

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

Pulumi - Pulumi - Universal Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀

toml.io - Source Code for toml.io

s6 - The s6 supervision suite.

Protobuf - Protocol Buffers - Google's data interchange format

lua-patterns - Exposing Lua string patterns to Rust

pyyaml - Canonical source repository for PyYAML

skycfg - Skycfg is an extension library for the Starlark language that adds support for constructing Protocol Buffer messages.

jsoneditor - A web-based tool to view, edit, format, and validate JSON