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

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

Issue 9491002: json_schema_compiler: any, additionalProperties, functions on types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add any in arrays to util.h Created 8 years, 9 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
(Empty)
1 [
2 {
3 "namespace": "any",
4 "types": [
5 {
6 "id": "AnyType",
7 "type": "object",
8 "properties": {
9 "any": {
10 "type": "any",
11 "description": "Any way you want it, that's the way you need it."
12 }
13 }
14 }
15 ],
16 "functions": [
17 {
18 "name": "optionalAny",
19 "type": "function",
20 "description": "Takes an optional any param.",
21 "parameters": [
22 {
23 "type": "any",
24 "name": "any",
25 "optional": true
26 },
27 {
28 "type": "function",
29 "name": "callback",
30 "parameters": []
31 }
32 ]
33 },
34 {
35 "name": "returnAny",
36 "type": "function",
37 "description": "Returns any.",
38 "nodoc": "true",
39 "parameters": [
40 {
41 "type": "function",
42 "name": "callback",
43 "parameters": [
44 {
45 "name": "result",
46 "type": "any"
47 }
48 ]
49 }
50 ]
51 }
52 ]
53 }
54 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/additional_properties_unittest.cc ('k') | tools/json_schema_compiler/test/any_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698