MCPcopy Create free account
hub / github.com/compozy/agh / escapeJSON

Function escapeJSON

internal/api/httpapi/memory_test.go:795–798  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

793}
794
795func escapeJSON(value string) string {
796 payload, _ := json.Marshal(value)
797 return strings.Trim(string(payload), "\"")
798}

Calls

no outgoing calls

Tested by

no test coverage detected