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

Method JSONValue

internal/api/models.go:69–74  ·  view source on GitHub ↗

JSONValue returns the raw JSON as a string (for numeric/general use).

()

Source from the content-addressed store, hash-verified

67
68// JSONValue returns the raw JSON as a string (for numeric/general use).
69func (a AttrValue) JSONValue() string {
70 if a.raw == nil {
71 return "null"
72 }
73 return string(a.raw)
74}
75
76// PriceRate is a single tier within a price model.
77type PriceRate struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected