title: How to get data as an json array from a server and convert it in to java array to use in android application
body: <blockquote>
    <p><strong>Possible duplicate</strong></p>
    
    <p><a href="https://stackoverflow.com/questions/2255220/how-to-parse-a-json-and-turn-its-values-into-an-array">How to parse a JSON and turn its values into an Array?</a></p>
  </blockquote>
  
  <pre><code>[
     [
        "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"
     ]
  ]
  </code></pre>
  
  <p>This is the data i want to get to a java array (to create a dynamic table to show data).</p>
  
  <p>i can get a text value using this</p>
  
  <pre><code>String response = null;
              try {
                  response = CustomHttpClient.executeHttpPost("http://test.tester.com/check.php", postParameters);
                  String res=response.toString();}
  </code></pre>