KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 8 forks source link

Add some more API to JsonDocument #31

Open narnaud opened 2 weeks ago

narnaud commented 2 weeks ago

This is a follow-up of #20.

Add some API to get or set a value from a JsonDocument. There are more likely some code that could be stolen from Settings, as it's doing exactly that (see hasValue/vlaue/setValue method). Ideally, consolidate those methods, so the code is shared between the 2 classes.

Add tests too.