Class JSONUtils


  • public class JSONUtils
    extends Object
    • Method Detail

      • getSet

        public static Set<String> getSet​(org.json.JSONObject json,
                                         String key)
                                  throws org.json.JSONException
        Throws:
        org.json.JSONException
      • getMapStringSetString

        public static Map<String,​Set<String>> getMapStringSetString​(org.json.JSONObject json,
                                                                          String key)
                                                                   throws org.json.JSONException
        Throws:
        org.json.JSONException
      • getMapStringBoolean

        public static Map<String,​Boolean> getMapStringBoolean​(org.json.JSONObject json,
                                                                    String key)
                                                             throws org.json.JSONException
        Throws:
        org.json.JSONException
      • getLong

        public static long getLong​(org.json.JSONObject json,
                                   String key)
                            throws org.json.JSONException
        Throws:
        org.json.JSONException