How to create .json files from VASP data to make training data for fitting SNAP Potential

How to create .json files from VASP data to make training data for fitting SNAP Potential

I am also want to know the techniques.