Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 [ | |
| 2 { | |
| 3 "namespace": "array", | |
| 4 "types": [ | |
| 5 { | |
| 6 "id": "BasicArrayType", | |
| 7 "type": "object", | |
| 8 "properties": { | |
| 9 "strings": { | |
| 10 "type": "array", | |
| 11 "items": {"type": "string"} | |
| 12 }, | |
| 13 "booleans": { | |
| 14 "type": "array", | |
| 15 "items": {"type": "boolean"} | |
| 16 }, | |
| 17 "numbers": { | |
| 18 "type": "array", | |
| 19 "items": {"type": "number"} | |
| 20 }, | |
| 21 "integers": { | |
| 22 "type": "array", | |
| 23 "items": {"type": "integer"} | |
| 24 } | |
| 25 } | |
| 26 }, | |
| 27 { | |
| 28 "id": "Item", | |
| 29 "type": "object", | |
| 30 "properties": { | |
| 31 "val": { | |
| 32 "type": "integer" | |
| 33 } | |
| 34 } | |
| 35 }, | |
| 36 { | |
| 37 "id": "RefArrayType", | |
| 38 "type": "object", | |
| 39 "properties": { | |
| 40 "refs": { | |
| 41 "type": "array", | |
| 42 "items": { "$ref": "Item" } | |
| 43 } | |
| 44 } | |
| 45 } | |
| 46 ], | |
| 47 "functions": [ | |
| 48 { | |
| 49 "name": "integerArray", | |
| 50 "type": "function", | |
| 51 "description": "Increments the given integer.", | |
|
Yoyo Zhou
2012/02/22 00:58:47
?
| |
| 52 "parameters": [ | |
| 53 { | |
| 54 "name": "nums", | |
| 55 "type": "array", | |
| 56 "items": {"type": "integer"} | |
| 57 }, | |
| 58 { | |
| 59 "name": "callback", | |
| 60 "type": "function", | |
| 61 "parameters": [] | |
| 62 } | |
| 63 ] | |
| 64 } | |
|
not at google - send to devlin
2012/02/18 03:29:02
test arrays of other things too, like Item / {$ref
calamity
2012/02/20 05:03:37
Done.
| |
| 65 ] | |
| 66 } | |
| 67 ] | |
| OLD | NEW |