panel icon indicating copy to clipboard operation
panel copied to clipboard

Use YAML for eggs

Open schrej opened this issue 3 years ago • 1 comments

Currently, eggs are exported in json format. Eggs can contain a lot of multiline strings, which makes it very hard to read them in json format.

YAML has much better support for multiline strings (see here) which would make it much easier to modify eggs as code and see changes in Pull Requests. In addition YAML is easier to read and we've converted wings to use yaml as it's configuration file format as well.

As YAML is basically an extension of JSON, it should be easy to be backwards compatible.

schrej avatar Jul 28 '20 08:07 schrej

YAML is definitely easier to read and hand edit.

One thing we also need to consider is that we "should" be escaping all sentences as well. Any yaml specific catches all break parsing pretty hard.

parkervcp avatar Jul 28 '20 11:07 parkervcp