MarshalJSON returns the raw bytes of the Partial.
()
| 15 | |
| 16 | // MarshalJSON returns the raw bytes of the Partial. |
| 17 | func (p *Partial) MarshalJSON() ([]byte, error) { |
| 18 | return p.Raw, nil |
| 19 | } |
| 20 | |
| 21 | // UnmarshalJSON puts the data into Partial.Raw. |
| 22 | func (p *Partial) UnmarshalJSON(data []byte) error { |
nothing calls this directly
no outgoing calls
no test coverage detected