Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ normalizeJSON
Function
normalizeJSON
pkg/cmd/codespace/ports.go:397–400 ·
view source on GitHub ↗
(j []byte)
Source
from the content-addressed store, hash-verified
395
}
396
397
func
normalizeJSON(j []byte) []byte {
398
// remove trailing commas
399
return
bytes.ReplaceAll(j, []byte(
"},}"
), []byte(
"}}"
))
400
}
Callers
1
getDevContainer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected