googleapis / googleapis/google-api-java-client
JacksonGenerator serializes byte[] as array of numbers
- Linguagem predominante
- Java
- Estrelas
- 1.5k
- Forks
- 772
- Merge médio
- 1h 44min
- PRs com merge (30d)
- 1
Descrição
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).
Guia de contribuição
Direção de pesquisa
Start by locating JacksonGenerator and checking how byte[] values are serialized. Compare its output with the linked BigQuery BYTES documentation and TableDataInsertAllRequest usage. Done means the intended representation is agreed and verified with a focused regression test.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- google-cloud, java
- Domínio
- api, cloud
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100