MCPcopy Create free account
hub / github.com/cli/cli / jsonText

Function jsonText

script/ghmock/graphqlcheck.go:469–475  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

467}
468
469func jsonText(v any) string {
470 data, err := json.Marshal(v)
471 if err != nil {
472 return fmt.Sprint(v)
473 }
474 return string(data)
475}

Callers 3

describeSchemaTypeFunction · 0.85
checkValueMethod · 0.85
fillMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected