Checkbox selected values not able to get in a panel table widget

We are creating a panel dashboard which behaves real time prediction.
I have one tabular monthly data where I embed one check box as a column. I selected three checkboxes and want to pass some related column values to a python function. Right now once we select the checkboxes, it’s giving “checkbox is not JSON serializable”. Could somebody help on this issue.
We tried to embed entire table as html to panel widget also. Same issue occurred. We are in a deadlock situation, please help us.