team1389 / ElectriScout-CLI

CLI-Based version of ElectriScout - Runs on Linux and any computer with the Bash shell
2 stars 0 forks source link

Add JSON output capability #3

Open ErikBoesen opened 6 years ago

ErikBoesen commented 6 years ago

Most scouting apps I've seen use JSON for data exchange, including mine, VictiScout. It'd be neat if this app could do that too; the current style of data storage is not optimal for a lot of reasons which I can detail if you like.

ecbcat20 commented 6 years ago

Yes please.

ErikBoesen commented 6 years ago

The main issue is that parsing of any kind is really difficult. With a JSON file in Python, you can load all data and query it easily in one or two lines. With this solution, you'd have to first know what file you're looking for, and then grep in it to find the data you want, then perhaps sed to actually extract the data.

ecbcat20 commented 6 years ago

Hmmm I see.