I have string with JSON structure like this
String response = "{'success':1,'error_code':0,'message':'Access granted'}"
I want to split that using String.split() to be like this:
{[success],[1],[error_code],[0],[message],[Access Granted]}
I have tried this solution, this solution too, but none of solution fit with my need.
How I can achieve this?