MCPcopy
hub / github.com/deepfence/SecretScanner / jsonMarshal

Function jsonMarshal

output/output.go:169–172  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

167}
168
169func jsonMarshal(input string) string {
170 output, _ := json.Marshal(input)
171 return string(output)
172}
173
174func removeFirstLastChar(input string) string {
175 if len(input) <= 1 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected