- Draw polyline in Google Earth.
- Export project as KML file from Google Earth.
- Use below command for convert KML file.
.\KmlToCsvConverter.exe [kml_file_path] [csv_file_path] [json_file_path]
After this process you can find csv and json files at path that you gave.