{"type":"event", "name":"gamma_size", "arg": {"name":"size","type":"uint" }
Wayland is not the web. None of these technologies are involved in Wayland.
>{"type":"event", "name":"gamma_size", "arg": {"name":"size","type":"uint" }
Your example is more verbose and harder to read... XML is definitely misused in many applications where JSON is appropriate but this is not one of them.
[gamma_size]
type = "event"
args = [
{ name = "size", type = "uint" }
]
XML isn't what I would choose here because there's no need for text markup. TOML is both simpler and friendlier than XML in this case.I do agree that it doesn't matter much.