unitsofmeasurement / uom-lib

Units of Measurement Libraries
Other
14 stars 13 forks source link

Ensure round-trip serialization is consistent #38

Closed aontas closed 5 years ago

aontas commented 5 years ago

The serialization/de-serialization is not consistent, so if you are trying to use this to map between JSON and back, then it doesn't work for a subset of UCUM units.

I have also removed the @Ignore on the km test, but happy to revert this change.

Also, I chose to use case sensitive, as this usually leads to better human readable formats in the JSON structure.


This change is Reviewable