What is the format of the Canton configuration files?

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?

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

2 Likes

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

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.

1 Like