I currently want to serialize some data.
The problem I have got that sometimes I get ->
Value is always a number. If I declare it as Integer(Or any other fitting numeric type) it throws an Exception. If I declare it as String it works fine. I would like to keep it as Integer.
In this thread http://json.codeplex.com/workitem/22411 JamesNK told me to use a custom JsonConverter, but I do not know where to start.