Raw returns the raw bytes. All types are currently implemented as []byte.
()
| 77 | |
| 78 | // Raw returns the raw bytes. All types are currently implemented as []byte. |
| 79 | func (v Value) Raw() []byte { |
| 80 | if v.Inner == nil { |
| 81 | return nil |
| 82 | } |
| 83 | return v.Inner.raw() |
| 84 | } |
| 85 | |
| 86 | // String returns the raw value as a string |
| 87 | func (v Value) String() string { |