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 {
Contents []OSCPacket
TimeTag OSCTimeTag
Contents []OSCPacket `json:"contents"`
TimeTag OSCTimeTag `json:"timeTag"`
}
type OSCArg struct {
Value any
Type string
Value any `json:"value"`
Type string `json:"type"`
}
type OSCMessage struct {
Address string
Args []OSCArg
Address string `json:"address"`
Args []OSCArg `json:"args"`
}
type OSCColor struct {