lfai / model_openness_tool

Model Openness Tool
MIT License
2 stars 4 forks source link

Should we use YAML rather than JSON? #15

Open lehors opened 3 weeks ago

lehors commented 3 weeks ago

The data we are dealing with serializes just as well in YAML than JSON and YAML is much simpler to work with than JSON. We might want to switch from downloading JSON files to downloading YAML files, or at least provide that as an option.

gregcube commented 3 weeks ago

I like the idea of using YAML rather than JSON. Drupal is more YAML-oriented in terms of its configuration management.

I suggest renaming Download JSON to simply Download and providing a hover-activated dropdown menu that allows the user to select either YAML or JSON as the format. Since JSON is already implemented, this approach seems best to me.