binary json

binary json

jamieb22jamieb22 Posts: 9Questions: 6Answers: 0

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

Answers

  • allanallan Posts: 41,550Questions: 1Answers: 5,204 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

Sign In or Register to comment.