Vinay Nagaraj Vinay Nagaraj - 1 year ago 548
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download