Bytes returns the JSON representation of patch.
()
| 102 | |
| 103 | // Bytes returns the JSON representation of patch. |
| 104 | func (patch *JSON6902) Bytes() ([]byte, error) { return patch.Data(nil) } |
| 105 | |
| 106 | // Data returns the JSON representation of patch. |
| 107 | func (patch *JSON6902) Data(client.Object) ([]byte, error) { return json.Marshal(*patch) } |