JSONObject jo = null; try { jo = JSONObject.fromObject(content); } catch (Exception e) { throw new RuntimeException("不是json格式数据:" + jo); }