开发者

How to convert an entire table into JSON?

开发者 https://www.devze.com 2023-03-11 16:37 出处:网络
I have some data stored on client side which I need to fetch thru JSON. Right now I am creating classes from my data and then converting these to JSON to send over the network. Is there any way to dir

I have some data stored on client side which I need to fetch thru JSON. Right now I am creating classes from my data and then converting these to JSON to send over the network. Is there any way to directly convert the entire tab开发者_如何学编程le into JSON?


No, it is not possible.

You have to retrieve each element's value and construct the JSON data.

0

精彩评论

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