I am sending information to a website using volley and receiving a json
response, I try to send this response to my firebase
database but it crashes with the error : com.google.firebase.database.DatabaseException: No properties to serialize found on class org.json.JSONObject
This is my code
private FirebaseDatabase sushFirebaseDatabase;
private DatabaseReference tbbbbbb;
.....
Request.Method.POST,burl, jsonobject,
new Response.Listener<JSONObject>() {
@Override
public void onResponse(JSONObject response) {
FirebaseUser user = mAuth.getCurrentUser();
String userID = user.getUid();
mAuth = FirebaseAuth.getInstance();
sushFirebaseDatabase=FirebaseDatabase.getInstance();
tbbbbbbb=sushFirebaseDatabase.getReference(Respons_Path);
tbbbbbbb.child(userID).push().setValue(response);
Please help