Closed Firionus closed 3 years ago
When "messageId" in GlowMessage is set to null, the serialized JSON looks like e.g.
null
{ "event" : "fixtureTypeAdded", "data" : {"fixtureTypeId": "7fb33577-09c9-4bf0-be3b-ef0dc3bef4be"}, "messageId" : null }
Expected Outcome: "messageId" should not appear in JSON
Please track https://github.com/cbeust/klaxon/pull/326
The new Klaxon 5.5 includes the new serializeNull feature I submitted.
serializeNull
TODO:
When "messageId" in GlowMessage is set to
null
, the serialized JSON looks like e.g.Expected Outcome: "messageId" should not appear in JSON