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

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: 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": "additionalProperties",
4 "types": [
5 {
6 "id": "AdditionalPropertiesType",
7 "type": "object",
8 "properties": {
9 "string": {
10 "type": "string",
11 "description": "Some string."
12 }
13 },
14 "additionalProperties": { "type": "any" }
15 }
16 ],
17 "functions": [
18 {
19 "name": "additionalProperties",
20 "type": "function",
21 "description": "Takes an object with additionalProperties",
22 "parameters": [
23 {
24 "name": "paramObject",
25 "type": "object",
26 "properties": {},
27 "additionalProperties": {"type": "any"}
28 }
29 ]
30 },
31 {
32 "name": "returnAdditionalProperties",
33 "type": "function",
34 "description": "Returns an object with additionalProperties.",
35 "nodoc": "true",
36 "parameters": [
37 {
38 "type": "function",
39 "name": "callback",
40 "parameters": [
41 {
42 "name": "resultObject",
43 "type": "object",
44 "properties": {
45 "integer": {"type": "integer"}
46 },
47 "additionalProperties": {"type": "any"}
48 }
49 ]
50 }
51 ]
52 }
53 ]
54 }
55 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/previewserver.py ('k') | tools/json_schema_compiler/test/additional_properties_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698