History callback is shown below,I need to parse Object response (message) which response is given below for reference.Object message - params which produce nested array without any keyword and nested object with keyword as message.
pubnub.history(request_id, true, 100, new Callback() {
        @Override
        public void successCallback(String channel, Object message) {
            super.successCallback(channel, message);
            Log.e(TAG, "successCallback: History Messages" + message);
        }
        @Override
        public void errorCallback(String channel, PubnubError error) {
            super.errorCallback(channel, error);
            Log.e(TAG, "successCallback: History Messages error" + error);
        }
    });
Here is my Object response message.
Response:-
 [                              //array 1
   [                            // array 2
    {                          //obj 1
     "message":{
     "message":"Hai",
     "timestamp":1507105493379,
     "type":"SENT",
     "userId":137
     },
     "timetoken":15071054937865507
     },
     {                           //object 2
     "message":{
     "message":"How are you ?",
     "timestamp":1507105503320,
     "type":"SENT",
     "userId":137
     },
     "timetoken":15071055037143632
     },
     {                                  //object 3
     "message":{
     "message":"Fyn",
     "timestamp":1507105505628,
     "type":"SENT",
     "userId":137
     },
     "timetoken":15071055060355900
     }
     ],                                   //array 1 end
    15071054937865507,
    15071055060355900
  ] 
                                  //array 2 end
How to parse this response.
 
     
     
    