google-api-java-client
google-api-java-client copied to clipboard
JacksonGenerator serializes byte[] as array of numbers
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.
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.