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