nestedtextto

CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting (by AndydeCleyre)

Nestedtextto Alternatives

Similar projects and alternatives to nestedtextto

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

nestedtextto reviews and mentions

Posts with mentions or reviews of nestedtextto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-12.
  • The yaml document from hell
    8 projects | /r/programming | 12 Jan 2023
    I used the official reference implementation to make a CLI converter between NestedText and TOML, JSON, and YAML. When generating one of these formats, you can use yamlpath queries to concisely but explicitly apply supported types to data elements.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    I'm a huge fan of NestedText, especially as there is no escaping needed ever.

    If you ever want to use it as a pre-format to generate either TOML, JSON, or YAML, I used the official reference implementation to make a CLI converter between them and NestedText.

    When generating one of these formats, you can use yamlpath queries to concisely but explicitly apply supported types to data elements.

    - My CLI converter: https://github.com/AndydeCleyre/nestedtextto

    - yamlpath info: https://github.com/wwkimball/yamlpath/wiki/Search-Expression...

  • A practical issue with YAML: your schema is not documentation
    1 project | news.ycombinator.com | 17 Dec 2022
    In case you're interested and haven't seen it, I've become a big fan of NestedText, which is similar to YAML but without the complicated parts, and without types (just strings, lists, and dicts). The idea is that any meaningful validation and coercion belongs in code anyway. An extra cool part is that nothing ever needs to be escaped, so the content is super clean and unambiguous.

    If you want to play around with it, I made NestedTextTo (nt2 on PyPI), for CLI conversion between NestedText and YAML, TOML, or JSON, with a pretty cool (IMO) way to cast value types along the way.

    https://nestedtext.org/en/stable/ (not my project)

    https://github.com/AndydeCleyre/nestedtextto (my project)

  • How do you yaml
    1 project | /r/devops | 23 Nov 2022
    I recently fell in love with the NestedText format, and whipped up a CLI for conversions between it and YAML (and JSON and TOML), so now whenever manually viewing those other formats I pipe it through into readable NestedText. In this example, the result is identical to format A.
  • nt2: a CLI converter between NestedText and JSON, YAML, or TOML
    2 projects | /r/Python | 3 Oct 2022
    So I made nt2 (NestedTextTo) (install from PyPI as nt2[toml] for TOML support).
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic nestedtextto repo stats
5
16
9.3
6 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com