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

Method UnmarshalJSON

internal/api/models.go:10–13  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

8}
9
10func (a *AttrValue) UnmarshalJSON(data []byte) error {
11 a.raw = data
12 return nil
13}
14
15func (a AttrValue) MarshalJSON() ([]byte, error) {
16 if a.raw == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected