strictyaml

Type-safe YAML parser and validator. (by crdoconnor)

Strictyaml Alternatives

Similar projects and alternatives to strictyaml

  1. NumPy

    310 strictyaml VS NumPy

    The fundamental package for scientific computing with Python.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. cue

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

  4. dhall-lang

    Maintainable configuration files

  5. json5

    105 strictyaml VS json5

    JSON5 — JSON for Humans

  6. json

    97 strictyaml VS json

    JSON for Modern C++

  7. jsonnet

    54 strictyaml VS jsonnet

    Jsonnet - The data templating language

  8. toml

    53 strictyaml VS toml

    Tom's Obvious, Minimal Language

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. edn

    Extensible Data Notation

  11. config

    configuration library for JVM languages using HOCON files

  12. pyyaml

    18 strictyaml VS pyyaml

    Canonical source repository for PyYAML

  13. hitchstory

    Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.

  14. cue

    Discontinued CUE has moved to https://github.com/cue-lang/cue (by cuelang)

  15. ron

    28 strictyaml VS ron

    Rusty Object Notation

  16. ytt

    YAML templating tool that works on YAML structure instead of text

  17. yamllint

    12 strictyaml VS yamllint

    A linter for YAML files.

  18. yaml-rust

    A pure rust YAML implementation.

  19. yamlpath

    YAML/JSON/EYAML/Compatible get/set/merge/validate/scan/convert/diff processors using powerful, intuitive, command-line friendly syntax.

  20. crudini

    A utility for manipulating ini files

  21. starlark-go

    Starlark in Go: the Starlark configuration language, implemented in Go

  22. µPickle

    uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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

strictyaml discussion

strictyaml reviews and mentions

Posts with mentions or reviews of strictyaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-09-22.
  • Dear GitHub: no YAML anchors, please
    6 projects | news.ycombinator.com | 22 Sep 2025
    This is why I've become a fan of StrictYAML [0]. Of course it is not supported by many projects, but at least you are given the option to dispense with all the unnecessary features and their associated pitfalls in the context of your own projects.

    Most notably it only offers three base types (scalar string, array, object) and moves the work of parsing values to stronger types (such as int8 or boolean) to your codebase where you tend to wrap values parsed from YAML into other types anyway.

    Less surprises and headaches, but very niche, unfortunately.

    [0] https://hitchdev.com/strictyaml/

  • I prefer human-readable file formats
    3 projects | news.ycombinator.com | 9 Aug 2025
    https://github.com/crdoconnor/strictyaml/blob/master/hitch/s...

    I think you shouldn't use yaml or toml for this.

    > TOML's hierarchies are difficult to infer from syntax alone

    True! The point of TOML is to flatten the hierarchical structures.

  • StrictYAML
    5 projects | news.ycombinator.com | 7 Mar 2025
    1 project | news.ycombinator.com | 29 Sep 2023
  • Unit Tests as Documentation
    13 projects | news.ycombinator.com | 17 Oct 2024
    I dont think it is about discipline. At its core, a good test will take an example and do something with it to demonstrate an outcome.

    That's exactly what how to docs do - probably with the same examples.

    Logically, they should be the same thing.

    For example:

    https://github.com/crdoconnor/strictyaml/blob/master/hitch/s...

    And:

    https://hitchdev.com/strictyaml/using/alpha/scalar/email-and...

    You just need a (non turing complete) language that is dual use - it generates docs and runs tests.

  • XML is better than YAML
    17 projects | news.ycombinator.com | 20 Sep 2023
    NestedText already is the way I use YAML; everything is intepreted as a string. I have some trust in my YAML parser to not mangle most strings. I could use NestedText, but users would be unfamiliar with it, and IIRC the only parsers are in Python. But then I could use StrictYaml too https://github.com/crdoconnor/strictyaml
  • The new type of SQL injection
    4 projects | /r/ProgrammerHumor | 15 Mar 2023
    you can stick to a subset of YAML syntax (e.g. strictYAML)
  • DO YOU YAML?
    7 projects | dev.to | 16 Jan 2023
    YAML stands for "YAML Ain’t Markup Language" - this is known as a recursive acronym. YAML is often used for writing configuration files. It’s human readable, easy to understand and can be used with other programming languages. Although YAML is commonly used in many disciplines, it has received criticism on the amoutn of whitespace .yml files have, difficulty in editing, and complexity of the standard. Despite the criticism, properly using YAML ensures that you can reproduce the results of a project and makes sure that the virtual environment packages play nicely with system packages. (If you're looking for another way to share environments there are other alternatives to YAML which include StrictYAML (a type-safe YAML parser) and NestedText)
  • The yaml document from hell
    8 projects | /r/programming | 12 Jan 2023
    The example you linked provides this as an example of a YAML document that he wants his format to support.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    That safe subset exists and is implemented in a number of languages. It is called strict-yaml: https://hitchdev.com/strictyaml/
  • A note from our sponsor - Stream
    getstream.io | 24 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Stats

Basic strictyaml repo stats
25
1,589
0.0
7 months ago

crdoconnor/strictyaml is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of strictyaml is Python.


Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?