ORCID is releasing a command-line tool that can be used to translate ORCID XML into ORCID JSON and vica-versa. This is intended to help when working with S3 data files, and can process v2.0, v2.1 and v3.0rc1 formatted files.
The library is written in Java and is available at https://github.com/ORCID/orcid-conversion-lib. The library supports command line piping and a number of options, such as turning schema validation on or off. It is intended to process one file at a time, but could be extended to work more efficiently on directories or compressed/tarred files in the future. The general usage looks like this:
java -jar orcid-conversion-lib-0.0.1-full.jar -i inputfile.xml -o outputfile.json
In addition, the repository also contains a stand-alone Java version of the ORCID model. This can be used within your own applications to serialize/deserialize JSON, XML and Java Beans. It is a pre-built version of the library we use internally and we hope that this will help speed up Java integrations. Note that the model can also be used to build your own converter if you need one within an existing application. Please see https://github.com/ORCID/orcid-conversion-lib/tree/master/orcid-model for more details.
We welcome your feedback on both of these items.