frostfs-sdk-go/api/tombstone/json.go
Pavel Pogodaev 6ce73790ea [#276] Merge repo with frostfs-api-go
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
2024-10-22 14:05:12 +00:00

14 lines
380 B
Go

package tombstone
import (
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/rpc/message"
tombstone "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/tombstone/grpc"
)
func (s *Tombstone) MarshalJSON() ([]byte, error) {
return message.MarshalJSON(s)
}
func (s *Tombstone) UnmarshalJSON(data []byte) error {
return message.UnmarshalJSON(s, data, new(tombstone.Tombstone))
}