I was wondering if there was a way to edit a YAML file and save the edited version…
So it would be something like this maybe:
File yaml = new File(System.getProperty("user.home") + "/Desktop/*.*"); selectInput("Choose File", "fileSelected",yaml); yaml.set("data.materials.example", "random string"); pconfig.save(panelsf);
and so the yaml file saved would be something like:
data: materials: example: 'random string'
so I wanted to be able to get a yaml file, convert it to something like a YAMLConfiguration, edit it and save it, edited.