wcf: how can we have benefits on using JSON serialization in our services?
views:
32answers:
2
+1
A:
You can use Json serialization starting from framework 3.5 (use DataContractJsonSerializer).
I think, we have benefits on using all benefits of Json format vs XML. Of course, wcf service's clients have to support this format :).
Some benefits of JSON :
JSON is well suited to data-interchange than XML.
JSON is much simpler than XML.
JSON messages have less size than the same XML ones, because json is not a document markup language.
JSON is optimized for data.
igor
2010-03-07 11:23:49