[JSON-Simple](http://code.google.com/p/json-simple/)

[JSON-Simple Example](http://code.google.com/p/json-simple/wiki/DecodingExamples)

```
String login = "{\"result\":[104192,42068],\"id\":1}";

Object obj = JSONValue.parse(login);

JSONArray array = (JSONArray)obj;

```

This throw a exception

> 
> Exception in thread "main"
>  java.lang.ClassCastException:
>  org.json.simple.JSONObject cannot be
>  cast to org.json.simple.JSONArray
> 
> 
> 

What is the problem in this code ?