Vinay Nagaraj Vinay Nagaraj - 5 months ago 297
Android Question

New firebase json annotations

I'm using autovalue for my entities and annotated them to allow json parsing.

There are new annotations in the new sdk:

Exclude
,
IgnoreExtraProperties
,
ThrowOnExtraProperties
and
@PropertyName
: https://firebase.google.com/docs/reference/android/com/google/firebase/database/PropertyName. But PropertyName seems to be missing from the sdk..

Answer

We missed the @PropertyName annotation in this release of the Firebase SDK for Android. It will be included in the next update. No news yet on when that will be out.

Comments