googleapis / googleapis/google-api-java-client
JacksonGenerator serializes byte[] as array of numbers
Offen
priority: p4
type: feature request
- Vorherrschende Sprache
- Java
- Sterne
- 1.5k
- Forks
- 772
- Ø Merge
- 1 Std. 44 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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).
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.