Commit Graph

3 Commits

Author SHA1 Message Date
Guillaume Galeazzi
5e2f46bc4c add counter check with no default or null 2020-06-28 15:59:06 +02:00
Guillaume Galeazzi
561571179f fix default is empty object 2020-06-22 11:10:17 +02:00
Sven Fink
cb95425f59 Add schema class that is aware of a default entry
Uses json patch format for defaults: json patch (RFC 6902) makes it
clearer in case of array contents. It is supported by nlohmann::json and
can be applied with `patch` to fill up the json with defaults.
2020-03-10 14:32:10 +01:00