开发者

Is there a JSON serializer in the Silverlight

I reall开发者_开发问答y want this so I can serialize / deserialize some complex data objects using JSON.


It appears that JsonReaderWriterFactory is supported in Silverlight 3: http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.jsonreaderwriterfactory(VS.95).aspx


We have used Json.NET

It's pretty handy for serializing objects back and forth from Javascript on the client to C# on the server.


You could also use DataContractJsonSerializer (http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer(v=vs.95).aspx)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜