Closed sttts closed 7 years ago
Also comments, YAML supports comments.
Thought of that as well so often. Really like the idea. :+1:
:+1:
+1
Do you think one could simply put a YAML to JSON converter in front of the logic that we have now? All validation errors (beyond YAML syntax errors) would then of course relate to the JSON...
@kolloch YAML is just an extension to JSON btw :) So Marathon could replace JSON parser with YML and it MUST be backward compatible
sry, could not resist
:laughing:
+1
It's much easy to use docker compose to express the relationship between two containers than using group in marathon.
:+1:
+1
+1
+1, JSON gets horribly complicated to maintain and readability suffers.
Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2710. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.
YAML is much easier to write manually than JSON. JSON files get harder to read and maintain the bigger they get. YAML has support for multiline strings, JSON doesn't. App CMD strings with >500 characters are no fun in JSON.