Usual suspects for rejected JSON?
Usual suspects for rejected JSON?
JonathansCorner.com
Posts: 5Questions: 0Answers: 0
I am trying to create a table with server-side processing. At present it rejected "{'iTotalRecords':128,'sColumns':['id','approved_date','approval_status','approval_id','reference_id','shipping_authorization_number','manufacturer_distributor_name','original_amount','open_amount','requestor'],'aaData':[/* 10 entries deleted */]]}", saying, "DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."
I simplified the JSON, eventually reaching "{'aaData':[]}", and am still getting the same error. Are there other mistakes I could have made that would trigger this error?
I simplified the JSON, eventually reaching "{'aaData':[]}", and am still getting the same error. Are there other mistakes I could have made that would trigger this error?
This discussion has been closed.
Replies