JSON Serialization in VS 2008(interviews.dotnetthread.com)

submitted by abomnkvabomnkv(250) 2 years, 7 months ago

Say we need to convert serialize C# object to JSON string and transfer that to client side to be used in Javascript. DataContact attribute is added to a class and DataMember attribute is added for all members that need be serialized.

add a comment |category: |Views: 12

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:
information Login or create an account to comment on this story