cueglow / glowdtf

Tech Demo for Controlling GDTF Lights over Art-Net
MIT License
8 stars 0 forks source link

Make "messageId" in GlowMessage JSON optional #24

Closed Firionus closed 3 years ago

Firionus commented 3 years ago

When "messageId" in GlowMessage is set to null, the serialized JSON looks like e.g.

{
"event" : "fixtureTypeAdded", 
"data" : {"fixtureTypeId": "7fb33577-09c9-4bf0-be3b-ef0dc3bef4be"}, 
"messageId" : null
}

Expected Outcome: "messageId" should not appear in JSON

Firionus commented 3 years ago

Please track https://github.com/cbeust/klaxon/pull/326

Firionus commented 3 years ago

The new Klaxon 5.5 includes the new serializeNull feature I submitted.

TODO: