Get serializable data using new API?
Get serializable data using new API?
![Mivexil](https://secure.gravatar.com/avatar/2ac6b1d58f6014760597e7ef7a48ec74/?default=https%3A%2F%2Fvanillicon.com%2F2ac6b1d58f6014760597e7ef7a48ec74_200.png&rating=g&size=120)
I'm using DataTables as a form component - first grabbing the initial data from server, then having the user add or delete rows via row.add and row.remove. When submitting the form, I'd like to get a JSON representation of current data.
Using the legacy API's fnGetData, one can simply stringify the result - is there any way to achieve the same result using the new API? From what I understand, rows.data returns a DataTables API object, which can't be serialized (JSON.stringify throws "Converting circular structure to JSON").