Re: Support JSON with --json flag and provide header files

2018-08-06 Thread Alexander Mills
To make it clear, these headers files would allow for compile-time type safety. When you are parsing serialized data into a data structure, you know have header files that describe the data type(s). It would be nice to not have to "guess" about the structure of the JSON that git produces. On Mon,

Support JSON with --json flag and provide header files

2018-08-06 Thread Alexander Mills
@git I hear there is a movement underway to have git support JSON for the purposes of machine readable stdio. That is all good and well. I want to add to that request. Imagine a software world were serialized data could be typed. So JSON produced by C/C++ could be described and the receiving proc