本文介绍了JSON在ASP中的序列化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前在asp中有一个数据集,其中包含我的会员详细信息.
I have currently a dataset in asp which contains my members details.
我正在尝试将其序列化,以使其类似于php中产生的json_encode()
I am trying to serlize it so that it is similar to json_encode() in php which produces
[{"0":"1","id":"1","1":"Eric","name":"Eric","2":"1","sex":"1","3":"1992","birthyear":"1992"},{"0":"2","id":"2","1":"Tom","name":"Tom","2":"1","sex":"1","3":"1992","birthyear":"1992"}]
这里有帮助吗?
推荐答案
json.org 网站链接到ASP的两个库:
The json.org website links to two libraries, for ASP :
- JSON for ASP.
- JSON ASP utility class.
这篇关于JSON在ASP中的序列化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!