Yaml is my favorite too. The protocol defines events like json though right?

Reply to this note

Please Login to reply.

Discussion

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.

The problem is yaml is all string values. So one direction is easier/faster than the other. I do it, but nothing mission critical, just for readability purposes.

Yeah.