cliJsonVersion top-level constant

int const cliJsonVersion

The version of the --json output's shape, written in every document a subcommand prints with --json as the envelope's version.

Its own number, not the package's. It moves only when the shape does: a key added is a minor bump, and nothing is removed or retyped within a major.

Implementation

const int cliJsonVersion = 1;