Closed bavovanachte closed 2 years ago
Hi Bavo,
Thank you for pointing that out. I actually had an issue in these commands. It should be '--asap2' instead of '--json' to convert an a2l to a json file. I corrected that in the README.md
But in order to generate a a2l file from a json file you need either to specify the path to the json file with the --json parameter or pipe the content via stdout/in by omitting the path.
Example:
java -jar a2lparser-2.4.1-jar-with-dependencies.jar --json anyValidJsonFile.json
The command prints the a2l file to the console. You can also specify an output file adding -o output.a2l
I hope that helps you out here.
Kind regard, Andreas
Hi,
Your project peaked my interest and I'd like it to try to generate a2l files out of existing json files. I was trying out the example in the readme, but when issuing the following command:
The following error is generated:
I took the jar from the releases page