diff --git a/v5/marshaling.go b/v5/marshaling.go new file mode 100644 index 0000000..108e135 --- /dev/null +++ b/v5/marshaling.go @@ -0,0 +1,9 @@ +package v5 + +import "encoding/json" + +func (t Tag) MarshalJSON() ([]byte, error) { + name, err := json.Marshal(t.Name) + + return name, err +}