What is the format of the Canton configuration files?
App Development4 posts190 views3 likesLast activity Apr 2024
WA
WallaceKellyOP
Apr 2024The example Canton configuration files in the docs kinda look like JSON, but not exactly. They are not YAML files. Sometimes they have directives like include required(...).
What is the format of the Canton configuration files?
WA
WallaceKelly
Apr 2024That is HOCON, the Human-Optimized Config Object Notation.
The Canton docs say:
The configuration files themselves are written in HOCON format with some extensions
MG
mgodf89
Apr 2024Thanks for the info @WallaceKelly, do you know if there is a tool analogous to jq or yq for HOCON?
GA
Gary_Verhaegen
Apr 2024A quick Google search got me this, which seems to be designed for exactly that: bringing jq to hocon. Or hocon to jq, depending on your perspective.
I’ve never used it though, this is not a recommendation or endorsement.