I ran into a problem that using JSON to transfer an object to C # and C # passes the string back to Java and then java deserializes it to the BTW card, version .net 3.5
Here is the problem
The Java JSON string is shown 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 to find a way to do this:
- for a java card JSON format, C # can characterize it
- for C #, find a way to serialize it in a Java-friendly format
thanks
source share