googleapis / googleapis/google-api-java-client

JacksonGenerator serializes byte[] as array of numbers

Aperta
#1,012 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
priority: p4 type: feature request
Lingua principale
Java
Stelle
1.5k
Fork
772
Merge medio
1h 44m
PR unite (30g)
1

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.