--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2e40463a-8285-439d-8eaa-77a3c78111ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class Pojo {
private BigDecimal value;
public Pojo(BigDecimal value) {
this.value = value;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
}
Pojo pojo = new Pojo(new BigDecimal(5));
String key = databaseReference.push().getKey();
databaseReference.child(key).setValue(pojo);
Hello (Elid?),Can you please share some code and sample data demonstrating the issue? Are you, perhaps, ignoring the offending field in your old 2.x code by using Jackson annotations?☼, Kato
On Thu, Nov 24, 2016 at 7:13 AM, <eli...@innovorder.fr> wrote:
Hi,On android I try to save an object to the firebase real-time database, it used to work on version 2.5.2 but on firebase version 9.8.0 I have the following exception when I try to save :com.google.firebase.database.DatabaseException: Failed to parse node with class class java.math.BigDecimalat com.google.android.gms.internal.zzamm.zza(Unknown Source)at com.google.android.gms.internal.zzamm.zzbt(Unknown Source)at com.google.android.gms.internal.zzamm.zza(Unknown Source)at com.google.firebase.database.DatabaseReference.zza(Unknown Source)at com.google.firebase.database.DatabaseReference.setValue(Unknown Source)Any suggestion on how to handle this on the new version of firebase ?Best regards.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2e40463a-8285-439d-8eaa-77a3c78111ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.