I have a json response string like this

```
string result ={"username": "sdrG", "size": 965204,  "filename": "test.doc"}

```

From this am trying to get the size value

for that am using JSON object to convert JSON string get the key values

```
JSONObject jObject  = new JSONObject(result); // json
String size = (String) jObject.get("size");
System.out.println(size);

```

But his code is not working for me getting 

```
org.json.JSONException: JSONObject["size"] not found.   

```