JavaMoney / javamoney-examples

JavaMoney - Examples
Apache License 2.0
86 stars 39 forks source link

Example using serializing over the wire? #28

Open luistrigueiros opened 7 years ago

luistrigueiros commented 7 years ago

Hi,

I would love to see an example serializing and restoring monetary amounts over the wire using efficient serialization mechanics like Google Protobuf or Apache Avro ?

Thank you, kindly Oscar

keilw commented 7 years ago

Zalando added support for JSON serialization: https://github.com/zalando/jackson-datatype-money

luistrigueiros commented 7 years ago

Thank you, I found this example nice Additionally I have found how to do it using google protobuf so I can send you the example code.

keilw commented 7 years ago

If it's a simple example, please, either attach or fork it and propose a PR. If it was more of a library, there is also https://github.com/JavaMoney/javamoney-shelter