jk.java
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
final class jk
{
static Object a(Object paramObject)
throws JSONException
{
if ((paramObject instanceof JSONArray)) {
throw new RuntimeException("JSONArrays are not supported");
}
if (JSONObject.NULL.equals(paramObject)) {
throw new RuntimeException("JSON nulls are not supported");
}
Object localObject = paramObject;
if ((paramObject instanceof JSONObject))
{
paramObject = (JSONObject)paramObject;
localObject = new HashMap();
Iterator localIterator = ((JSONObject)paramObject).keys();
while (localIterator.hasNext())
{
String str = (String)localIterator.next();
((Map)localObject).put(str, a(((JSONObject)paramObject).get(str)));
}
}
return localObject;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/jk.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/