superfell/json2apex — Issue #6: spot sub types
Author: superfell
Created: 2011-11-16 00:21:42+00:00
State: open

e.g, given
[ { "id" : "a" }, { "id" :"b", name:"bob" }]

it should be able to work out that the first array entry's type is covered by the 2nd type and just generate one type.