Possible duplicate
[
[
"sn1",
"Liquid_level",
"85"
],
[
"sn2",
"Liquid_level,Temperature",
"95"
],
[
"sn2",
"Liquid_level,Temperature",
"50"
],
[
"sn3",
"Liquid_level",
"85.7"
],
[
"sn4",
"Liquid_level",
"90"
],
[
"sn5",
"Volt_meter",
"4.5"
],
[
"sn6",
"Temperature",
"56"
],
[
"sn8",
"Liquid_level",
"30"
]
]
This is the data i want to get to a java array (to create a dynamic table to show data).
i can get a text value using this
String response = null;
try {
response = CustomHttpClient.executeHttpPost("http://test.tester.com/check.php", postParameters);
String res=response.toString();}
As from How to parse a JSON and turn its values into an Array?:
Credits to https://stackoverflow.com/users/251173/the-elite-gentleman