siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
712 stars 107 forks source link

Output options other than stdout, html #259

Open mkr-plse opened 4 years ago

mkr-plse commented 4 years ago

I am trying to use the results of japicmp as input to some other tool. It will be helpful to have the list of classes that are modified, the list of methods modified, etc in json format so that it can be easily parsed. There aren't any options to output as a json file. Is it possible to do this with the current implementation?

siom79 commented 4 years ago

You can run japicmp as standalone tool or library. It can create a simple diff-like output like in this example. The standalone tool can also create an XML file. Both, XML and diff format, can be easily parsed.

JSON as output is currently not supported but a nice to have feature.