@Anuj31005349h74z
You are getting parsing error because you are not passing json data to frontend, can you check what is type of data being rendered in frontend for attribute "buttons"? I assume something like below.
buttons="ButtonModel(...),ButtonModel(...),ButtonModel(...),..."
convert the List<...