public class OrgJsonUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
getNames(org.json.JSONObject obj) |
static List<Object> |
toList(org.json.JSONArray arr)
Used as a replacement of
JSONArray#toList() (which doesn't exist in the android version of org.json). |
static Map<String,Object> |
toMap(org.json.JSONObject obj)
Used as a replacement of
JSONObject#toMap() (which doesn't exist in the android version of org.json). |
public static Map<String,Object> toMap(org.json.JSONObject obj)
JSONObject#toMap()
(which doesn't exist in the android version of org.json).public static List<Object> toList(org.json.JSONArray arr)
JSONArray#toList()
(which doesn't exist in the android version of org.json).public static String[] getNames(org.json.JSONObject obj)
Copyright © 2019 Everit Kft.. All rights reserved.