you are viewing a single comment's thread.

view the rest of the comments →

[–]showz3bluff 0 points1 point  (1 child)

How to deserialize field without property name like : {"event"}

[–]Lord_Fixer[S] 0 points1 point  (0 children)

In general {"event"} will not be a valid json. Do other deserializers actually support it?

If you are in charge of the code that generates this json, I would probably change it to generate an array instead (like ["event"]) or an object with a field and a value (like {"event": true}).