add json struct tags

This commit is contained in:
2025-09-30 12:54:13 -05:00
parent c039245298
commit a1a550b4bb
+6 -6
View File
@@ -5,18 +5,18 @@ type OSCPacket interface {
} }
type OSCBundle struct { type OSCBundle struct {
Contents []OSCPacket Contents []OSCPacket `json:"contents"`
TimeTag OSCTimeTag TimeTag OSCTimeTag `json:"timeTag"`
} }
type OSCArg struct { type OSCArg struct {
Value any Value any `json:"value"`
Type string Type string `json:"type"`
} }
type OSCMessage struct { type OSCMessage struct {
Address string Address string `json:"address"`
Args []OSCArg Args []OSCArg `json:"args"`
} }
type OSCColor struct { type OSCColor struct {