Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainloop-dev/chainloop
/ EncodeJSON
Function
EncodeJSON
app/cli/cmd/output/output.go:75–77 ·
view source on GitHub ↗
(v interface{})
Source
from the content-addressed store, hash-verified
73
}
74
75
func
EncodeJSON(v
interface
{}) error {
76
return
EncodeJSONToWriter(v, os.Stdout)
77
}
78
79
func
EncodeProtoJSON(v proto.Message) error {
80
options := protojson.MarshalOptions{
Callers
7
encodeAttestationOutput
Function · 0.92
newReferrerDiscoverCmd
Function · 0.92
newPluginListCmd
Function · 0.92
newPluginDescribeCmd
Function · 0.92
newPolicyDevelopEvalCmd
Function · 0.92
NewVersionCmd
Function · 0.92
EncodeOutput
Function · 0.85
Calls
1
EncodeJSONToWriter
Function · 0.85
Tested by
no test coverage detected