2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00
waf/playground/json/test.json
Matt Clarkson 6c485625f4 Added a JSON example to the playground
The example reads a file as JSON, adds a key, then writes the new structure
to a JSON file in the build folder. The example accepts a '--pretty'
argument to output human readable JSON to the file.
2015-11-20 13:53:39 +00:00

10 lines
142 B
JSON

{
"array": [1, 2, "abc", 4.8, null],
"dict": {
"integer": 1,
"float": 4.8,
"string": "Hello, world!"
},
"boolean": true
}