JacksonSupport: add support for Amount<Currency> and OpaqueBytes

This commit is contained in:
Mike Hearn
2017-03-05 22:20:43 +01:00
parent 6d8ce50a41
commit 2634e1673f
5 changed files with 100 additions and 44 deletions

View File

@ -3,6 +3,17 @@ Changelog
Here are brief summaries of what's changed between each snapshot release.
UNRELEASED
----------
API changes:
* The new Jackson module provides JSON/YAML serialisers for common Corda datatypes. If you have previously been
using the JSON support in the standalone web server, please be aware that amounts are now serialised as strings
instead of { quantity, token } pairs as before. The old format is still accepted, but new JSON will be produced
using strings like "1000.00 USD" when writing. You can use any format supported by ``Amount.parseCurrency``
as input.
Milestone 9.1
-------------