How to get specific value from this JSON string. I want to get nested nested JSON object "FromUserId": "bd079f57" and pass it to Javascript function.
"notification":{
       "title" :"Test",
       "message" : "Message",  
           "android": {
                 "data": {
                         "priority": "2",
                        "profile": "profile",
                        "message": "xxx has sent you a Message.",
                        "style": "inbox",
                        "noteId": "1",
                        "visibility": "1",
                        "title": "Test",
                        "badge": "12",                  
                        "FromUserId": "bd079f57"                            
                        }
                    }
                 }
 "onNotification": function (notification) {         
                        var obj = JSON.parse(notification.message.android.data.FromUserId);  
                      // How to pass this test.FromUserId to ReadData function.                     
                      ReadData(obj)
                    }
$scope.ReadData(obj){
 //further process of json
}
 
     
    