Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post Json Object to a plugin
luiz@wise.com.br
#1 Posted : Monday, May 17, 2010 10:49:18 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
Is there an example of how to post an json object and transform it in an .net object in a plugin?
jifeng
#2 Posted : Tuesday, May 18, 2010 4:45:20 PM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
We do not have example, but you may use code like

Code:


var json= Request.Form["json"];

var data= Everest.Library.Json.JSONHelper.DeserializeJSON<DataType>(json);

Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.214 seconds.