How do you process the data received from API in ND-JSON format?

If you want a chess board from buttons.