I'm posting a list of generics from client to server, so I need the TypeNameHandling thing in Json serializing & deserializing. I find that TypeNameHandling.Auto is what I need and provides the shortest string.
One thing I don't understand is, why does the $type includes the project name? How do I "tu that off"?
"$type":"<Data type string>, Client"
When the data reaches the server, I need to change the "Client" (Client side project name) to "Server" (Server side project name) in IDE to work
"$type":"<Data type string>, Server"
Most example I see on the inteet are serializing the object and directly deserialize it in the same project so they don't encounter this issue.
