googleapis / googleapis/google-api-java-client
JacksonGenerator serializes byte[] as array of numbers
Abierto
priority: p4
type: feature request
- Lenguaje dominante
- Java
- Estrellas
- 1.5k
- Forks
- 772
- Merge medio
- 1 h 44 min
- PR fusionados (30 d)
- 1
Descripción
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).
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.