对象转JSON

JSONObject json = (JSONObject)JSON.toJSON(configDefaultSpu);

原文地址:https://www.cnblogs.com/LoveShare/p/14825920.html