Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ normalizeJSON
Function
normalizeJSON
pkg/cmd/codespace/ports.go:385–388 ·
view source on GitHub ↗
(j []byte)
Source
from the content-addressed store, hash-verified
383
}
384
385
func
normalizeJSON(j []byte) []byte {
386
// remove trailing commas
387
return
bytes.ReplaceAll(j, []byte(
"},}"
), []byte(
"}}"
))
388
}
Callers
1
getDevContainer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected