@monorail
Hmm, I'm not entirely sure why you couldn't use one deserializer to validate the results of another, but you know the requirements best.
And my way is a sketchy, lazy hack even in the best of times.
Anyway, sorry you had to write all that. I had similar deserialization issues with a polymorphic collection of classes last week that kept matching to the wrong types. Took a few tries to get right. No fun.
@polyphonic i mean it's the same deserializer, which is the problem :P
@polyphonic unfortunately this is a unit test for deserializing json so it would sort of defeat the point