How to write to the YAML file?

I have yaml file conf.yaml and now I want to rerwrite/change value of key. I used the YAML.jl package but emitting julia objects to YAML not yet implemented. I have about 300 files with some different keys.

Any idea? Thanks.

You could write a rough yaml writer if you can get it correct enough for your needs. If you’re running the code on systems where ruby is easily accessible, I’ve found it’s quite good at this since its equivalent of dicts have a to_yaml method. Guess no one has written the same thing for the Julia yaml package yet.