com.rathravane.till.data.json.JsonUtil Maven / Gradle / Ivy
package com.rathravane.till.data.json;
import java.util.LinkedList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.rathravane.till.data.json.JsonVisitor.ArrayOfStringVisitor;
import com.rathravane.till.data.json.JsonVisitor.ObjectVisitor;
public class JsonUtil
{
public static JSONObject clone ( JSONObject that )
{
if ( that == null ) return null;
final JSONObject result = new JSONObject ();
JsonVisitor.forEachElement ( that, new ObjectVisitor
© 2015 - 2025 Weber Informatics LLC | Privacy Policy