comparison tests/data/conf10.json @ 412:816327e178b0

Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends. This is done be refactoring Configuration and putting the coercing methods into a common mixin.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 20 Nov 2021 13:52:08 +0100
parents b11af3ded7c1
children 88bfa76463a6
comparison
equal deleted inserted replaced
411:3c95faa91dad 412:816327e178b0
2 "key2": "in the root namespace -- too", 2 "key2": "in the root namespace -- too",
3 "tree1": { 3 "tree1": {
4 "key3": 32, 4 "key3": 32,
5 "tree2": { 5 "tree2": {
6 "key4": "get this as `tree1.tree2.key4'", 6 "key4": "get this as `tree1.tree2.key4'",
7 "key5": true 7 "key5": true,
8 "key6": "off"
8 } 9 }
9 } 10 }
10 } 11 }