I have an empty array string

```
String stringArray = "[]";

```

And I want to convert it to an Array type.

I need this because I want to compare in an if statement if the array is empty. Like

```
if(stringArray.isEmpty()){
   // doSomething 
}

```

Any suggestion how I can do this?