alecgorge/jsonapi — Issue #129: [Feature - Hard?] Nested calls.
Author: Psithief
Created: 2012-02-28 09:28:18+00:00
State: open

I think there's only one more feature that I can think of.
Nested calls - for when the existing methods are almost but not quite good enough.

```json
{
"name": "spawnItem",
"desc": "Spawns an item at a location.",
"returns:" ["boolean", "True on success, I suppose."],
"call": "Server.getWorld(0).dropItemNaturally(new Location(Server.getWorld(0), 1, 2, 3) , new ItemStack(4, 5))"
"args": [
["String", "The world to explode a part of."],
["double", "x coordinate of the item drop."],
["double", "y coordinate of the item drop."],
["double", "z coordinate of the item drop."],
["int", "Item ID"],
["int", "Item amount - up to 64."]
]
}
```