سؤال

I have an android phone app that has to exchange data with an asp.net web api service. I've chosen to use JSON. In the phone app I serialize objects into GSON JSON strings. Now on the server I need to convert the gson json strings back into objects.

What should I use on the server side? I have seen older posts that say Jayrock is the way to go. Is it?

I'll be serializing and deserializing on both sides. Also I've heard there are some issus with dates. Thanks, Gary

هل كانت مفيدة؟

المحلول

I use the JSON.net library. It works nicely. Here's the link: http://james.newtonking.com/projects/json-net.aspx

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top