MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / MarshalJSON

Method MarshalJSON

internal/api/models.go:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (a AttrValue) MarshalJSON() ([]byte, error) {
16 if a.raw == nil {
17 return []byte("null"), nil
18 }
19 return a.raw, nil
20}
21
22func (a AttrValue) String() string {
23 if a.raw == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected