binary json

binary json

jamieb22jamieb22 Posts: 10Questions: 7Answers: 0

Can you make datatables support a binary json protocol like protobuf or messagepack?

Answers

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin

    Support for binary JSON won't be built into DataTables core, but it is easy to make use of it with the ajax.dataSrc option. DataTables will make the request to get the data, then in ajax.dataSrc you use whatever library you require to deserialise the data into plain JSON and return that from the function so DataTables can see it.

    Allan

This discussion has been closed.