summaryrefslogtreecommitdiff
path: root/Messages/JSON.hs
Commit message (Collapse)AuthorAge
* fix build with old ghcGravatar Joey Hess2016-08-08
|
* avoid using Strings for JSON output; keep it ByteString throughoutGravatar Joey Hess2016-07-26
|
* improved use of Aeson for JSONActionItemGravatar Joey Hess2016-07-26
|
* Removed dependency on json library; all JSON is now handled by aeson.Gravatar Joey Hess2016-07-26
| | | | | I've eyeballed all --json commands, and the only difference should be that some fields are re-ordered.
* aeson parser for --json output linesGravatar Joey Hess2016-07-26
|
* allow using Aeson for streaming JSON outputGravatar Joey Hess2016-07-26
| | | | | | | Keeping Text.JSON use for now, because it seems a better fit for most of the commands, which don't use very structured JSON objects, but just output whatever fields suites them. But this lets Aeson be used when a more structured data type is available to serialize to JSON.
* improve json when showStart' is given only a keyGravatar Joey Hess2016-03-06
| | | | | | Before, the json contained file:key; change that to key: If a file and a key are given, inclue both file: and key:
* info: Added json output for "backend usage", "numcopies stats", ↵Gravatar Joey Hess2015-06-16
| | | | "repositories containing these files", and "transfers in progress".
* update my email address and homepage urlGravatar Joey Hess2015-01-21
|
* hlintGravatar Joey Hess2013-04-03
|
* where indentingGravatar Joey Hess2012-11-11
|
* find --jsonGravatar Joey Hess2011-12-23
|
* status --json --fast for escGravatar Joey Hess2011-11-14
| | | | | | * status: Fix --json mode (only the repository lists are currently displayed) * status: --fast is back
* avoid showing json lists of remotes when not in json modeGravatar Joey Hess2011-09-02
|
* basic json supportGravatar Joey Hess2011-09-01
This includes a generic JSONStream library built on top of Text.JSON (somewhat hackishly). It would be possible to stream out a single json document describing all actions, but it's probably better for consumers if they can expect one json document per line, so I did it that way instead. Output from external programs used for transferring files is not currently hidden when outputting json, which probably makes it not very useful there. This may be dealt with if there is demand for json output for --get or --move to be parsable. The version, status, and find subcommands have hand-crafted output and don't do json. The whereis subcommand needs to be modified to produce useful json.