Skip to content
CCPEDIAby Unity Nodes
App Development

What is the format of the Canton configuration files?

4 posts221 views3 likesLast activity Apr 2024

  1. WallaceKellyOP

    The 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?

  2. WallaceKelly 2

    That is HOCON, the Human-Optimized Config Object Notation.

    The Canton docs say:

    The configuration files themselves are written in HOCON format with some extensions

  3. mgodf89

    Thanks for the info @WallaceKelly, do you know if there is a tool analogous to jq or yq for HOCON?

  4. Gary_Verhaegen 1

    A 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.