Details
-
Bug
-
Resolution: Done
-
Major
-
4.4.0.Beta1
-
None
Description
A POJO with a Long field like
@ProtoField(number = 12) public Long aField() { return aField; }
will be rendered by ProtobufUtil.toCanonicalJSON(ctx, marshalled, true) as a String instead of a number:
{ "aField": "123" }