json2apex
json2apex copied to clipboard
spot sub types
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.