Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: tools/json_schema_compiler/test/json_schema_test.json

Issue 10108005: Make json_schema_compiler remove 'nocompile' nodes from JSON at the JSON level (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "compile",
4 "functions": [],
5 "types": {}
6 },
7
8 {
9 "namespace": "nocompile",
10 "nocompile": true,
11 "functions": [],
12 "types": {}
13 },
14
15 {
16 "namespace": "functions",
17 "functions": [
18 {
19 "id": "one",
20 "nocompile": true
21 },
22 {
23 "id": "two"
24 },
25 {
26 "id": "three",
27 "nocompile": true
28 },
29 {
30 "id": "four"
31 }
32 ],
33
34 "types": {
35 "one": { "key": "value" }
36 }
37 },
38
39 {
40 "namespace": "types",
41 "functions": [
42 { "id": "one" }
43 ],
44 "types": {
45 "one": {
46 "key": "value",
47 "nocompile": true
48 },
49 "two": {
50 "key": "value"
51 },
52 "three": {
53 "key": "value",
54 "nocompile": true
55 },
56 "four": {
57 "key": "value"
58 }
59 }
60 },
61
62 {
63 "namespace": "nested",
64 "properties": {
65 "sync": {
66 "functions": [
67 {
68 "id": "one",
69 "nocompile": true
70 },
71 {
72 "id": "two"
73 },
74 {
75 "id": "three",
76 "nocompile": true
77 },
78 {
79 "id": "four"
80 }
81 ],
82 "types": {
83 "one": {
84 "key": "value",
85 "nocompile": true
86 },
87 "two": {
88 "key": "value"
89 },
90 "three": {
91 "key": "value",
92 "nocompile": true
93 },
94 "four": {
95 "key": "value"
96 }
97 }
98 }
99 }
100 }
101 ]
OLDNEW
« tools/json_schema_compiler/json_schema.py ('K') | « tools/json_schema_compiler/previewserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698