日期:2014-05-17 浏览次数:20843 次
<script language="JScript" runat="Server"> function toObject(json) { eval("var o=" + json); return o; } </script> <% Dim json json = "{'uid':'1','username':'abc','email':'123@163.com'}" Set json = toObject(json) Response.Write json.uid & "<br/>" Response.Write json.username & "<br/>" Response.Write json.email & "<br/>" Set json = Nothing %>