Does anybody else use #yaml for events?
I use it to allow people to manually edit event properties and arrays, but it also seems like a nice format for displaying events raw. Json is such gobbledygook.
Does anybody else use #yaml for events?
I use it to allow people to manually edit event properties and arrays, but it also seems like a nice format for displaying events raw. Json is such gobbledygook.
Yaml is my favorite too. The protocol defines events like json though right?
Yeah. #OnlyJson
Unfortunately it wouldn't make sense to change the protocol and force devs to support both JSON and YAML.
Yeah, but yaml is a superset of json, so you can always transform between the two, locally. Just can't expect relays to use it.
A client could do that. It adds a translation layer, which has tradeoffs, and whether those are worth it is up to the dev.
#toml camp