* the Json string.
* @return the created WjrConfig instance.
*/
WjrConfig createWjrConfigFromJson(String jsonString) {
WjrConfigMeta m = WjrConfigMeta.meta();
WjrConfig wjrConfig = new WjrConfig();
JSONObject j = JSONParser.parseStrict(jsonString).isObject();
wjrConfig.setConfigId(j.get(m.configId).isString().stringValue());
wjrConfig.setConfigName(j.get(m.configName).isString().stringValue());
wjrConfig.setCpumsEnabled(j.get(m.cpumsEnabled).isString().stringValue());
wjrConfig.setApimsEnabled(j.get(m.apimsEnabled).isString().stringValue());
wjrConfig.setLogHookEnabled(j
.get(m.logHookEnabled)
.isString()
.stringValue());
wjrConfig.setLogHookTimezone(j
.get(m.logHookTimezone)
.isString()
.stringValue());
wjrConfig.setRetryOverQuotaEnabled(j
.get(m.retryOverQuotaEnabled)
.isString()
.stringValue());
wjrConfig.setRetryOverQuotaInterval(j
.get(m.retryOverQuotaInterval)
.isString()
.stringValue());
wjrConfig.setRetryOverQuotaMaxCount(j
.get(m.retryOverQuotaMaxCount)
.isString()
.stringValue());
return wjrConfig;