Closed wanglingsong closed 6 years ago
Thank you for reporting this. It does sound like a bug.
One minor request: if it is easy enough, could you verify it still fails with 2.9.5? I assume it does as I do not recall fix to specific problem. But there have been recent fixes to protobuf module.
Checked. Still fails with 2.9.5
Ok, I can reproduce the issue. Seems to require non-empty array, for what that is worth, probably as the last value.
Fixed for 2.9.6.
Jackson version: 2.9.4 I'm trying to use streaming JsonParser to parse protobuf binary data according to your example, however the nextToken method keep returning "END_OBJECT" token in the end of parsing. You can reproduce this issue by following code:
output: