How to convert an entire table into JSON?
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.
精彩评论