package accounting import ( accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (d *Decimal) MarshalJSON() ([]byte, error) { return message.MarshalJSON(d) } func (d *Decimal) UnmarshalJSON(data []byte) error { return message.UnmarshalJSON(d, data, new(accounting.Decimal)) }