OLD | NEW |
1 { | 1 { |
2 "protocol": { | 2 "protocol": { |
3 "path": "protocol/sample_protocol.json", | 3 "path": "./relative/path/protocol/sample_protocol.json", |
4 "package": "include/generated/files/like/this", | 4 "package": "include/generated/files/like/this", |
5 "output": "place/generated/files/here" | 5 "output": "place/generated/files/here", |
| 6 "namespace": ["sample_project", "protocol"] |
| 7 }, |
| 8 |
| 9 "exported": { |
| 10 "package": "include/exported/files/like/this", |
| 11 "output": "place/exported/files/here", |
| 12 "string_header": "include/exported/string.h", |
| 13 "string_in": "String", |
| 14 "string_out": "String", |
| 15 "to_string_out": "toString(%s)" |
6 }, | 16 }, |
7 | 17 |
8 "imported": { | 18 "imported": { |
9 "path": "../relative/path/imported_protocol.json", | 19 "path": "../relative/path/imported_protocol.json", |
10 "package": "include/imported/files/like/this" | 20 "package": "include/imported/files/like/this", |
11 }, | 21 "to_imported_string": "toImportedString(%s)", |
12 | 22 "from_imported_string": "fromImportedString(%s)", |
13 "exported": { | 23 "namespace": ["imported_project", "protocol"] |
14 "package": "include/exported/files/like/this", | |
15 "output": "place/exported/files/here" | |
16 }, | |
17 | |
18 "string": { | |
19 "class_name": "String16" | |
20 }, | 24 }, |
21 | 25 |
22 "lib": { | 26 "lib": { |
| 27 "package": "include/lib/files/like/this", |
23 "output": "place/generated/lib/files/here", | 28 "output": "place/generated/lib/files/here", |
24 "string16_header": "sting16/implementation.h", | 29 "string_header": "string/implementation.h", |
25 "platform_header": "platform/implementation.h" | 30 "platform_header": "platform/implementation.h" |
26 }, | 31 }, |
27 | 32 |
28 "lib_package": "include/lib/files/like/this", | |
29 | |
30 "class_export": { | 33 "class_export": { |
31 "macro": "LIB_EXPORT", | 34 "macro": "LIB_EXPORT", |
32 "header": "lib/export.h" | 35 "header": "lib/lib_export.h" |
33 } | 36 } |
34 } | 37 } |
OLD | NEW |