I am facing the problem that using JSON to pass an object to C# and C# pass a string back to Java and then java deserialize it to a Map BTW, the .net version is 3.5
Here is the problem
the java map JSON string is in this format:
{"key1":"value1","key2":"value2"}
but in C#, the dictionary is seralized to
[{"Key":"key1","Value":"value1"},{"Key":"key2","Value":"value2"}]
I just want find a way to do this:
- for java Map JSON format, C# could deseralize it
- for C#, find a way to seralize it to a java understandable format
Thanks