This commit is contained in:
Joey Hess 2016-07-26 19:53:14 -04:00
parent 928fbb162d
commit a79736d80d
Failed to extract signature

View file

@ -20,11 +20,9 @@ problem, get in touch.
---- ----
While making that change, I also improved the JSON outputlayer, so it can While making that change, I also improved the JSON output layer, so it can
use Aeson. I didn't switch exclusively to using Aeson, because git-annex use Aeson. Update: And switched everything over to using Aeson, so
commands with JSON output often output it incrementally as they go (which git-annex no longer depends on two different JSON libraries.
Aeson can't really do), and are anyway not often doing the kind of
serialization of data type that Aeson excells at.
This let me use Aeson to generate the "fields" object for `metadata This let me use Aeson to generate the "fields" object for `metadata
--json`. And it was also easy enough to use Aeson to parse the output of --json`. And it was also easy enough to use Aeson to parse the output of