I am using javapns for sending push notification to iOS devices and there two method normally used that is alert() and payload(). Using any one of this function we can send push notification to iOS device. Here for I need to pass json object instead of sending a simple message inside any one of these methods. So please can anyone tell me how I can achieve this.