10 lines
201 B
Go
10 lines
201 B
Go
package claim
|
|
|
|
import (
|
|
"github.com/golang/protobuf/jsonpb"
|
|
)
|
|
|
|
func (claim *Claim) RenderJSON() (string, error) {
|
|
marshaler := jsonpb.Marshaler{}
|
|
return marshaler.MarshalToString(&claim.protobuf)
|
|
}
|