삼라만상
[Java] net.sf.json.util.JSONStringer to net.sf.json.JSONArray 본문
- Modules
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.util.JSONStringer;
import org.json.simple.parser.JSONParser;
- 소스 코드
JSONStringer jsonStringer = new JSONStringer();
JSONParser parser = new JSONParser();
Object obj = parser.parse(jsonStringer.toString());
JSONArray jsonArray = JSONArray.fromObject(obj));
Comments