-
Notifications
You must be signed in to change notification settings - Fork 0
/
json_print_example.txt
34 lines (30 loc) · 1.46 KB
/
json_print_example.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
gcc -o xyz json_print_table.c cJSON.c -I.
.\xyz.exe .\json_example.json > json_print_table.txt
Table: configurations 1/20
+-------+-------------+---------+--------------------------+-----------+-------------+------------------+
| name | includePath | defines | compilerPath | cStandard | cppStandard | intelliSenseMode |
+-------+-------------+---------+--------------------------+-----------+-------------+------------------+
| Win32 | [obj] | [obj] | C:\MinGW-w64\bin\gcc.exe | c17 | gnu++14 | windows-gcc-x64 |
+-------+-------------+---------+--------------------------+-----------+-------------+------------------+
JSON Format Unsupported; please adjust Code
Current format: Nested objects
Expected format: Array of objects
gcc -o xyz json_print_tree.c cJSON.c -I.
.\xyz.exe .\json_example.json > json_print_tree.txt
JSON Array Structure for: .\json_example.json
---------------------------------------
{Object}:
|__ configurations [Array]:
{Object}:
|__ name: "Win32"
|__ includePath [Array]:
: "${workspaceFolder}/**"
|__ defines [Array]:
: "_DEBUG"
: "UNICODE"
: "_UNICODE"
|__ compilerPath: "C:\MinGW-w64\bin\gcc.exe"
|__ cStandard: "c17"
|__ cppStandard: "gnu++14"
|__ intelliSenseMode: "windows-gcc-x64"
|__ version: 4