bivas / protobuf-java-format

Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
BSD 3-Clause "New" or "Revised" License
152 stars 97 forks source link

JsonJacksonFormat: unsigned int and long aren't output/input as unsigned. #15

Closed scr closed 8 years ago

scr commented 8 years ago

@kunzchr reported recently that UINT32, FIXED32, UINT64 and FIXED64 types write out and read in as signed ints/longs, whereas they need to use the next larger types (long / BigInteger) to load and then cast (after any appropriate range checks).