yamllint VS edn

Compare yamllint vs edn and see what are their differences.

yamllint

A linter for YAML files. (by adrienverge)

edn

Extensible Data Notation (by edn-format)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
yamllint edn
4 7
1,738 2,229
- 0.0%
5.3 0.0
4 days ago over 3 years ago
Python
GNU General Public License v3.0 only -
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.

yamllint

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

edn

Posts with mentions or reviews of edn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-11.
  • Parsing JSON Is a Minefield
    2 projects | news.ycombinator.com | 11 Oct 2021
    We could build such a format on top of JSON (there are probably multiple), but I again agree with Crockford that this sort of thing does not belong in JSON.

    Makes for a bunch of headaches, though, for sure.

    One example is a data scientist I used to work with. He was working with lots of machine learning libraries that liked to use NaN to mean "nothing to see here." A fellow developer ended up writing code that used some sort of convention to work around it, e.g. number := decimal | {"magic-uuid": "NaN"}. I can see why some people are of the opinion "this is stupid, just allow NaNs." I disagree.

    [1]: https://github.com/edn-format/edn

  • edn: Extensible Data Notation (2014)
    1 project | news.ycombinator.com | 27 Sep 2021
  • JSON5 Data Interchange Format
    4 projects | news.ycombinator.com | 27 Sep 2021
  • The Norway Problem
    18 projects | news.ycombinator.com | 3 Apr 2021
    Seems you're missing my personal favorite, extensible data notation - EDN (https://github.com/edn-format/edn). Probably I'm a bit biased coming from Clojure as it's widely used there but haven't really found a format that comes close to EDN when it comes to succinctness and features.

    Some of the neat features: Custom literals / tagged elements that can have their support added for them on runtime/compile time (dates can be represented, parsed and turned into proper dates in your language). Also being able to namespace data inside of it makes things a bit easier to manage without having to result to nesting or other hacks. Very human friendly, plus machine friendly.

    Biggest drawback so far seems to be performance of parsing, although I'm not sure if that's actually about the format itself, or about the small adoption of the format and therefore not many parsers focusing on speed has been written.

    18 projects | news.ycombinator.com | 3 Apr 2021
    > S-expressions inherits all trouble with data types from json (dates, times, booleans, integer size, number vs numeric string).

    Hm, not sure that's true, S-expressions would only define the "shape" of how you're defining something, not the semantics of how you're defining something. EDN https://github.com/edn-format/edn for all purposes is S-expressions and have support for custom literals and more, to avoid "the trouble with data types from JSON"

  • SVG: The Good, the Bad and the Ugly
    6 projects | reddit.com/r/programming | 13 Feb 2021
    EDN ! https://github.com/edn-format/edn
  • I would like to use Orgpad seriously but...
    1 project | reddit.com/r/orgpad | 18 Jan 2021
    Downloading them in EDN format, exactly as we store them on the server. EDN is a text data format similar to JSON which is used everywhere in our Clojure-based infrastructure. There is currently no button within the application, but it can be downloaded by appending /download at the end of an OrgPage address. For instance, to download Help, one can use this link: https://orgpad.com/o/CUPF51fJVDeq8xQkwPs2WT/download. Note that if there are any URL parameters (staring by ?) in the address, they have to go after download. Uploaded images and files have to be downloaded separately by pressing Download All button in the side menu.

What are some alternatives?

When comparing yamllint and edn you can also consider the following projects:

EPOE-Forked - Github repository for EPOE-Forked

pyyaml - Canonical source repository for PyYAML

json - JSON for Modern C++

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

jq - Command-line JSON processor

lua-patterns - Exposing Lua string patterns to Rust

ron - Rusty Object Notation

kubernetes - Production-Grade Container Scheduling and Management

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

awesome-json-next - A Collection of What's Next for Awesome JSON (JavaScript Object Notation) for Structured (Meta) Data in Text - JSON5, HJSON, HanSON, TJSON, SON, CSON, USON, JSONX/JSON11 & Many More

SVGToolpathReader - Cura plug-in to read SVG files as toolpaths, for debugging printer movements.