2024-05-28 08:04:07 +00:00
|
|
|
package ape
|
2024-04-24 13:00:37 +00:00
|
|
|
|
|
|
|
import (
|
2024-05-28 08:04:07 +00:00
|
|
|
ape "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/ape/grpc"
|
2024-04-24 13:00:37 +00:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (t *ChainTarget) MarshalJSON() ([]byte, error) {
|
|
|
|
return message.MarshalJSON(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (t *ChainTarget) UnmarshalJSON(data []byte) error {
|
2024-05-28 08:04:07 +00:00
|
|
|
return message.UnmarshalJSON(t, data, new(ape.ChainTarget))
|
2024-04-24 13:00:37 +00:00
|
|
|
}
|