I am working with the \"new\" GCM, part of Google Play Services, that does not use jars for both Android and server. Android uses Google Play apk to register, receive and even s
You have to add another level to json data, apparently they do not parse json recursively. Send:
{...., "data":{"payload":{"id":5,"a":5}}}
Then in code:
String json = intent.getExtras().getString("payload");
// json = {"id":5,"a":5}
This can be easily converted to POJO, For me this approach is better if you have classes already ( or just want to work with objects instead of get...("xyz")