The String
class has the parseYAML
and parseYAMLFile
methods that convert files and strings into dictionaries - but there doesn’t seem to be any sort of inverse method that converts dictionaries to yaml strings.
A quick google search lead me to this stackoverflow question where the user apparently uses JSON.stringify which seems to be javascript, and not SuperCollider. I’m not a big fan of this idea, and I’d rather just roll the yaml conversion myself - I’m just wondering if anyone possibly knows of any Quarks or anything else that might already exist that could help me out?