google-api-java-client icon indicating copy to clipboard operation
google-api-java-client copied to clipboard

JacksonGenerator serializes byte[] as array of numbers

Open mziccard opened this issue 9 years ago • 1 comments

Is this the preferred behavior?

As far as I know Jackson by default encodes byte[] to Base64 strings, why this change? In there any point where the array of numbers representation is useful?

I am asking because this behavior forces users to do the base64 encoding by themselves when loading BYTES data into a BigQuery table using TableDataInsertAllRequest.

mziccard avatar Jun 02 '16 17:06 mziccard

Thanks for raising this issue. With Google Cloud libraries coming out this may stay pretty far down in the queue unless we get a PR and a user letting us know it is an essential fix for them.

mattwhisenhunt avatar Dec 22 '17 22:12 mattwhisenhunt