Class JSONFunctions


  • public class JSONFunctions
    extends Object
    • Constructor Detail

      • JSONFunctions

        public JSONFunctions()
    • Method Detail

      • hasEntries

        public static boolean hasEntries​(org.json.JSONArray jsonArray,
                                         String[] keys)
      • hasEntries

        public static boolean hasEntries​(org.json.JSONObject json,
                                         String[] keys)
      • keys

        public static Set<String> keys​(org.json.JSONObject json,
                                       String path)
      • get

        public static Object get​(@CheckForNull
                                 org.json.JSONObject json,
                                 @CheckForNull
                                 String path)
      • has

        public static boolean has​(@CheckForNull
                                  org.json.JSONObject json,
                                  @CheckForNull
                                  String path)