KDAB/knut

Add some more API to JsonDocument

Closed this issue · 0 comments

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.