Documentation
¶
Overview ¶
Package jsondoc reads the JSON schema documented in docs/json-output.md, the single source the CLI and MCP tests check their --json output against.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fields ¶
Fields returns the sorted field names in the first-column tables of the section of the markdown file at path whose "## " heading is title. The "### " subsections below that heading are part of it.
func Keys ¶
Keys returns every object key in the JSON document data, at any depth, sorted and without duplicates.
func Optional ¶
Optional returns the sorted names of the fields of the section (as in Required) whose type column says "optional": absent when empty.
func Required ¶
Required returns the sorted names of the fields of the section (a "## " or "### " heading, exactly title, without its subsections) whose type column does not say "optional".
func UniqueSorted ¶
UniqueSorted returns in sorted, without duplicates.
Types ¶
This section is empty.