my web service gives this jason
{root=[{"name"=UK Babab huggies, "status"=1, "price"=5652525, "brand"=huggies}, {"name"=boots, "status"=1, "price"=25659, "brand"=boot}]}
I want to get it parse and get each elements, but Unfortunately codename one does not support / work it properly as you have explain in here
I wrote like this in statemachine class.
JSONParser p = new JSONParser();
Result result = Result.fromContent(input, Result.JSON);
String [] values = result.getAsStringArray("//root[1]");
but it gives null result
How can I fix this ?
IDE: NetBeans/
Desktop Windows
Simulator