How to pass data to train a keras model


I have downloaded the .json replay files using hlt client and I would like to input frames to my model and get the commands as an output. Do I need to make a .csv/.txt/.mat file from the given .json files or is there some other way?