JSONValue returns the raw JSON as a string (for numeric/general use).
()
| 67 | |
| 68 | // JSONValue returns the raw JSON as a string (for numeric/general use). |
| 69 | func (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. |
| 77 | type PriceRate struct { |
nothing calls this directly
no outgoing calls
no test coverage detected