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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "compile", 3 "namespace": "compile",
4 "description": "The compile API.",
4 "functions": [], 5 "functions": [],
5 "types": {} 6 "types": {}
6 }, 7 },
7 8
8 { 9 {
9 "namespace": "nocompile", 10 "namespace": "nocompile",
11 "description": "The nocompile API.",
10 "nocompile": true, 12 "nocompile": true,
11 "functions": [], 13 "functions": [],
12 "types": {} 14 "types": {}
13 }, 15 },
14 16
15 { 17 {
16 "namespace": "functions", 18 "namespace": "functions",
19 "description": "The functions API.",
17 "functions": [ 20 "functions": [
18 { 21 {
19 "id": "one", 22 "id": "one",
20 "nocompile": true 23 "nocompile": true
21 }, 24 },
22 { 25 {
23 "id": "two" 26 "id": "two"
24 }, 27 },
25 { 28 {
26 "id": "three", 29 "id": "three",
27 "nocompile": true 30 "nocompile": true
28 }, 31 },
29 { 32 {
30 "id": "four" 33 "id": "four"
31 } 34 }
32 ], 35 ],
33 36
34 "types": { 37 "types": {
35 "one": { "key": "value" } 38 "one": { "key": "value" }
36 } 39 }
37 }, 40 },
38 41
39 { 42 {
40 "namespace": "types", 43 "namespace": "types",
44 "description": "The types API.",
41 "functions": [ 45 "functions": [
42 { "id": "one" } 46 { "id": "one" }
43 ], 47 ],
44 "types": { 48 "types": {
45 "one": { 49 "one": {
46 "key": "value", 50 "key": "value",
47 "nocompile": true 51 "nocompile": true
48 }, 52 },
49 "two": { 53 "two": {
50 "key": "value" 54 "key": "value"
51 }, 55 },
52 "three": { 56 "three": {
53 "key": "value", 57 "key": "value",
54 "nocompile": true 58 "nocompile": true
55 }, 59 },
56 "four": { 60 "four": {
57 "key": "value" 61 "key": "value"
58 } 62 }
59 } 63 }
60 }, 64 },
61 65
62 { 66 {
63 "namespace": "nested", 67 "namespace": "nested",
68 "description": "The nested API.",
64 "properties": { 69 "properties": {
65 "sync": { 70 "sync": {
66 "functions": [ 71 "functions": [
67 { 72 {
68 "id": "one", 73 "id": "one",
69 "nocompile": true 74 "nocompile": true
70 }, 75 },
71 { 76 {
72 "id": "two" 77 "id": "two"
73 }, 78 },
(...skipping 18 matching lines...) Expand all
92 "nocompile": true 97 "nocompile": true
93 }, 98 },
94 "four": { 99 "four": {
95 "key": "value" 100 "key": "value"
96 } 101 }
97 } 102 }
98 } 103 }
99 } 104 }
100 } 105 }
101 ] 106 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/idl_reserved_words.idl ('k') | tools/json_schema_compiler/test/objects.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698