Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2025-05-21 06:20:00
Size: 1195
Editor: SamatJain
Comment:
Revision 7 as of 2025-06-05 05:36:16
Size: 2408
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== HOCON == == General ==
Line 3: Line 3:
 * [[https://github.com/oriontvv/convfmt|convfmt]]: converts between JSON any many other formats
 * [[https://github.com/alceal/jty-converter|jty-converter]]: converts between JSON/TOML/YAML

== HOCON (Human-Optimized Config Object Notation) ==

 * [[https://blog.ometer.com/2015/09/07/json-like-config-a-spectrum-of-underoverengineering/|Introduction]], with comparison to other formats
Line 6: Line 12:
  * [[https://www.puppet.com/docs/pe/2019.8/config_files.html|Writing HOCON from Puppet's documentation]]
 * Parsing into dataclasses
  * pyhocon + pydantic: https://gist.github.com/martin1keogh/2817e338fb06ad3573cffcfb8e713ac7
  * another pyhocon + pydantic: https://gist.github.com/GreyElaina/d851e9c9304085f7101d45725d378f68
 * [[https://github.com/chimpler/pyhocon/|pyhocon]]: Provides CLI tool for conversion between formats
 * Dataclasses for configuration management
  * [[https://github.com/zifeo/dataconf|dataconf]]: HOCON output by default
  * [[https://github.com/stasharrofi/pytyped/tree/master/pytyped-hocon|pytyped-hocon]]

 * [[https://github.com/maoertel/hoconvert|hoconvert]]: Rust-based HOCON converter
Line 11: Line 27:
 * [[https://doc.dovecot.org/2.4.1/core/settings/syntax.html|Dovecot config syntax]]

General

  • convfmt: converts between JSON any many other formats

  • jty-converter: converts between JSON/TOML/YAML

HOCON (Human-Optimized Config Object Notation)

Others

HCL

TOML

YAML

Hjson

ucl (Universal Configuration Language)

nginx conf

KDL

SamatsWiki: ConfigurationLanguages (last edited 2025-06-09 16:49:41 by SamatJain)