MCPcopy Index your code
hub / github.com/coder/coder / JSONFormat

Function JSONFormat

cli/cliui/output.go:168–170  ·  view source on GitHub ↗

JSONFormat creates a JSON formatter.

()

Source from the content-addressed store, hash-verified

166
167// JSONFormat creates a JSON formatter.
168func JSONFormat() OutputFormat {
169 return jsonFormat{}
170}
171
172// ID implements OutputFormat.
173func (jsonFormat) ID() string {

Callers 15

templatePresetsListMethod · 0.92
showOrganizationRolesMethod · 0.92
templateListMethod · 0.92
whoamiMethod · 0.92
workspaceACLToTableFunction · 0.92
scheduleShowMethod · 0.92
taskStatusMethod · 0.92
provisionerJobsListMethod · 0.92
taskLogsMethod · 0.92

Calls

no outgoing calls

Tested by 1

Test_OutputFormatterFunction · 0.74