]> dgit.raspbian.org Git - git-annex.git/commit
when serializing messages, include json objects
authorJoey Hess <joeyh@joeyh.name>
Thu, 3 Dec 2020 18:47:04 +0000 (14:47 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 3 Dec 2020 18:47:04 +0000 (14:47 -0400)
commite7f42e2ec7c269ff0377e4e92136a78a24a1b8a4
tree1e4daf1aca931cd139863f89f114dafdfc068667
parent5a41e46bd4c182f8165fc1e42972e2511ee178d3
when serializing messages, include json objects

This is done always, it's up to the comsumer to decide if it wants to
output the json objects or the messages.

Messages.JSON.finalize changed to not need a JSONOptions.
As far as I can see, this does not change its behavior,
since addErrorMessage appends to any list that's already there.

This commit was sponsored by Ethan Aubin.
Messages/Internal.hs
Messages/JSON.hs
Types/Messages.hs