Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import org.json.JSONArray;

public class Main {
    public static JSONArray newJSONArray(String val) {
        try {
            return new JSONArray(val.trim());
        } catch (Exception e) {
            return null;
        }
    }
}