title: convert php array to array List
body: <p>My jsonobject returns the following string from a php data source:</p>
  
  <pre><code>String[] faili =  new String [] {object.getString("slikaordfail")};
  --&gt;
  ["San Diego_3.jpg","San Diego_2.jpg","San Diego_1.jpg"]
  </code></pre>
  
  <p>How can I get an array in java from this string?</p>
  
  <p>Tried something like</p>
  
  <pre><code> List&lt;String&gt; stringList = new ArrayList&lt;String&gt;(Arrays.asList(faili));
  </code></pre>
  
  <p>but with the same result. It seems that the brackets from the php array are the problem. I don't like do delete them with string operations. There must be a more elegant way.</p>
  
  <p>Debugger shows only one record:</p>
  
  <pre><code>0=  "["San Diego_3.jpg","San Diego_2.jpg","San Diego_1.jpg"]"
  </code></pre>
  
  <p>Any help will be highly appreciated.</p>