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

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

Issue 9491002: json_schema_compiler: any, additionalProperties, functions on types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove whitespace 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": "additionalProperties",
4 "types": [
5 ],
not at google - send to devlin 2012/02/29 03:06:30 seems unnecessary actually, what about additional
calamity 2012/03/01 04:47:09 Done.
6 "functions": [
7 {
8 "name": "additionalProperties",
9 "type": "function",
10 "description": "Takes an object with additionalProperties",
11 "parameters": [
12 {
13 "name": "paramObject",
14 "type": "object",
15 "properties": {},
16 "additionalProperties": {"type": "any"}
17 }
18 ]
19 },
20 {
21 "name": "returnAdditionalProperties",
22 "type": "function",
23 "description": "Returns an object with additionalProperties.",
24 "nodoc": "true",
25 "parameters": [
26 {
27 "type": "function",
28 "name": "callback",
29 "parameters": [
30 {
31 "name": "resultObject",
32 "type": "object",
33 "properties": {
34 "integer": {"type": "integer"}
35 },
36 "additionalProperties": {"type": "any"}
37 }
38 ]
39 }
40 ]
41 }
42 ]
43 }
44 ]
45
not at google - send to devlin 2012/02/29 03:06:30 some more things to test: (and in C++) - more than
calamity 2012/03/01 04:47:09 Done.
46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698