public String[] melonerror(String aurl, String name, String period) {
        try {
            URL url = new URL(aurl);
            url.openStream();
            String out = new Scanner(url.openStream(), "UTF-8").useDelimiter(
                    "\\A").next();
            JSONParser parser = new JSONParser();

            Object obj = parser.parse(out);

            JSONObject jsonObject = (JSONObject) obj;
            String gap = (String) jsonObject.get(name);
            String gap1 = (String) jsonObject.get(period);
            JSONObject messageobject = (JSONObject) jsonObject.get("OPTION");
            String message = "NoMessage";
            String[] data = new String[]{gap, gap1, message};
            try {
                message = (String) messageobject.get("MESSAGE");
            } catch (NullPointerException e) {
            }
            return data;

        } catch (IOException e) {
            e.printStackTrace();
        } catch (ParseException e) {
            e.printStackTrace();
        }

        return null;
    }