News for hackers. Stuff that matters.
Re:Common Expression Language by noctune on Friday December 11, 2020 @05:10AM (#25384125)
Just write JSON and pretend it's YAML. YAML is a superset of JSON so there's no need to generate "nice" YAML if there isn't a human reading or writing it.
Re:Common Expression Language by throwaway894345 on Friday December 11, 2020 @10:31AM (#25386815)
It’s still good for humans to be able to debug it, and there’s no downside to generating YAML over JSON (I say this as someone who typically prefers JSON).