func (m Metadata) Marshal() (string, error) {
	b, err := json.Marshal(m)
	if err != nil {
		return "", err
	}

	return string(b), nil
}
// Marshal marshals metadata to string.
Marshal marshals metadata to string.
// Marshal marshals metadata to string .
func (m Metadata) Marshal() (string, error) {
	b, err := json.Marshal(m)
	if err != nil {
		return "", err
	}
	return string(b), nil
}
func ( m Metadata ) Marshal ( ) ( string , error ) { b , err := json . Marshal ( m ) if err != nil { return " " , err } return string ( b ) , nil }
Marshal marshals metadata to string.
Marshal marshals metadata to string .