annotate Resources/CodeGeneration/test_data/test1_bogus_schema.jsonc @ 703:d4d6c5b502b5

Merging refactor-viewport-controller
author Benjamin Golinvaux <bgo@osimis.io>
date Sun, 19 May 2019 16:31:56 +0200
parents 6470248790db
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
490
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
1 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
2 "root_name":"test1",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
3 "types": [
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
4 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
5 "name":"B",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
6 "kind":"struct",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
7 "fields": [
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
8 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
9 "name":"someAs",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
10 "type":"vector<A>"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
11 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
12 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
13 "name":"someInts",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
14 "type":"vector<int32>"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
15 }
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
16 ]
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
17 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
18 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
19 "name":"A",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
20 "kiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiind":"struct",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
21 "fields": [
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
22 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
23 "name":"someStrings",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
24 "type":"vector<string>"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
25 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
26 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
27 "name":"someInts2",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
28 "type":"vector<int32>"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
29 }
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
30 ]
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
31 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
32 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
33 "name":"MovieType",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
34 "kind":"enum",
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
35 "fields": [
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
36 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
37 "naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame":"Romcom"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
38 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
39 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
40 "name":"Horror"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
41 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
42 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
43 "name":"ScienceFiction"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
44 },
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
45 {
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
46 "name":"Vegetables"
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
47 }
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
48 ]
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
49 }
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
50 ]
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
51 }
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
52
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
53 /*
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
54 1 2 3 4 5 6 7
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
55 12345678901234567890123456789012345678901234567890123456789012345678901234567890
6470248790db ongoing codegen work
bgo-osimis
parents:
diff changeset
56 */