Either, depending on your taste and use-case. I prefer XML for aesthetic reasons, but that format can get verbose. Check out my new post on how to read JSON files in your C++ code at http://www.parresianz.com/c++/json/json-input/.
Each entry is © copyright 2006-2014 by the individual user and can be used in accordance with the Creative Commons License. iMechanica is powered by Drupal, and hosted at the Harvard School of Engineering and Applied Sciences.