Is it possible to load a toml file, edit a table value, and write the resulting data with the edit?
This is for the scenario where a component knows only the parts of the configuration it wants to edit; and the rest of the file should be preserved.
It looks to me like you can't find a table, modify a value.
And adding a new table of the same name basically destroys the old table (I tried it)
Is it possible to load a toml file, edit a table value, and write the resulting data with the edit? This is for the scenario where a component knows only the parts of the configuration it wants to edit; and the rest of the file should be preserved. It looks to me like you can't find a table, modify a value. And adding a new table of the same name basically destroys the old table (I tried it)