本文整理了Java中com.alibaba.fastjson.JSONObject.clone()
方法的一些代码示例,展示了JSONObject.clone()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSONObject.clone()
方法的具体详情如下:
包路径:com.alibaba.fastjson.JSONObject
类名称:JSONObject
方法名:clone
暂无
代码示例来源:origin: TommyLemon/APIJSON
return parseCorrectRequest((JSONObject) target.clone());
代码示例来源:origin: com.intoverflow.booster/booster-core
@Override
public JsonData clone() {
return new JsonData((JSONObject) this.json.clone());
}
代码示例来源:origin: com.intoverflow.booster/booster-core
@Override
public JSONObjectWrapper clone() {
return new JSONObjectWrapper((JSONObject) super.clone());
}
代码示例来源:origin: code4everything/efo
@Override
public String getUserConfig() {
JSONObject jsonObject = (JSONObject) EfoApplication.settings.getObjectUseEval(ConfigConsts.USER_OF_SETTINGS)
.clone();
jsonObject.remove(ConfigConsts.EMAIL_CONFIG_OF_USER);
return jsonObject.toString();
}
}
代码示例来源:origin: code4everything/efo
@Override
public String getGlobalConfig() {
JSONObject jsonObject = (JSONObject) EfoApplication.settings.getObjectUseEval(ConfigConsts
.GLOBAL_OF_SETTINGS).clone();
jsonObject.remove(ConfigConsts.UPLOAD_PATH_OF_GLOBAL);
jsonObject.remove(ConfigConsts.TOKEN_PATH_OF_GLOBAL);
jsonObject.remove(ConfigConsts.UPLOAD_FORM_OF_SETTING);
return jsonObject.toString();
}
代码示例来源:origin: com.scireum/sirius-db
/**
* Returns the response as a {@link JSONObject}.
* <p>
* Note that the query has to be executed before calling this method.
*
* @return the response as JSON
*/
public JSONObject getRawResponse() {
if (response == null && useScrolling()) {
throw Exceptions.handle()
.to(Mixing.LOG)
.withSystemErrorMessage("'getRawResponse' not possible when scrolling")
.handle();
}
return (JSONObject) response.clone();
}
内容来源于网络,如有侵权,请联系作者删除!