Closed
Description
Currently we use an ad hoc csv format for dumping analysis data (see rustc::middle::save::recorder). It would be better to use libserialize (or serde) for the dumping step so we can easily provide data in different formats.
By default, I think save_analysis should output JSON, since that seems to be the current hotness for this sort of thing.
I expect this to be not too hard, but non-trivial, and possibly a little bit tedious.