Get serializable data using new API?

Get serializable data using new API?

MivexilMivexil Posts: 1Questions: 1Answers: 0

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").

This discussion has been closed.