WCF JSON Deserialization Issues with Whitespace?

This is a known issue which was fixed in the 4.5 framework. Unfortunately you essentially need to strip the white spaces from the front of the object if you want to use polymorphism in the current framework version. One way to do that is to read / write the JSON using a reader / writer created by JsonReaderWriterFactory as it will strip the white spaces (or any pretty printing) around the elements.

Unfortunately, I have no good answer to this. We ran into the same issue and contacted Microsoft about it. They insisted that what they were doing was okay because of performance concerns, which is laughable considering how the entire pipeline works.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions