googleapis / googleapis/google-api-java-client

JacksonGenerator serializes byte[] as array of numbers

未关闭
#1,012 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p4 type: feature request
主要语言
Java
星标
1.5k
派生
772
平均合并
1 小时 44 分钟
30 天内合并 PR
1

描述

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](https://cloud.google.com/bigquery/data-types) data into a BigQuery table using [`TableDataInsertAllRequest`](https://developers.google.com/resources/api-libraries/documentation/bigquery/v2/java/latest/com/google/api/services/bigquery/model/TableDataInsertAllRequest.html).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。