googleapis / googleapis/google-api-java-client

Parse collection interfaces as serializable collections on Android

オープン
#957 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p4 type: feature request
主要言語
Java
スター
1.5k
フォーク
772
平均マージ
1時間 44分
マージ済み PR(30日)
1

説明

By default, AndroidJsonParser parses fields of collection interfaces as non-serializable classes (e.g. com.google.api.client.util.ArrayMap for java.util.Map). Since standard java collections are by large serializable, it would be convenient to ensure serializability of the parsed object graph (it is not unreasonable to assume developers would take serializability of collections for granted).

This is especially painful on Android if one wants to use objects from a parsed HttpResponse as activity extras/fragment params.

(BTW I am currently using CustomizeJsonParser to work around this issue. However, it seems cumbersome for such a common use case)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。