frostfs-node/cmd/neofs-node/config/test/config.json
Pavel Karpy 52c82ef46a [#577] cmd/node: Add tests for boolean type casting in config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-02 13:28:15 +03:00

50 lines
712 B
JSON

{
"value": "some value",
"section": {
"any": "thing",
"sub": {
"sub": {
"sub1": {
"key": "val1"
},
"sub2": {
"key": "val2"
}
}
}
},
"string_slice": {
"empty": [],
"filled": [
"string1",
"string2"
],
"incorrect": null
},
"string": {
"correct": "some string",
"incorrect": []
},
"duration": {
"correct": "15m",
"incorrect": "some string"
},
"number": {
"int_pos": 1,
"int_neg": -1,
"fract_pos": 2.5,
"fract_neg": -2.5,
"incorrect": "some string"
},
"bool": {
"correct": true,
"correct_string": "true",
"incorrect": "not true"
}
}