Examples of WjrConfigMeta


Examples of bufferings.ktr.wjr.shared.model.meta.WjrConfigMeta

   * @param jsonString
   *          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());
View Full Code Here

Examples of bufferings.ktr.wjr.shared.model.meta.WjrConfigMeta

   *          the config.
   * @throws IOException
   *           when fail to write
   */
  void writeConfig(JsonWriter writer, WjrConfig config) throws IOException {
    WjrConfigMeta m = WjrConfigMeta.meta();

    writer
      .beginObject()
      .name(m.configId)
      .value(config.getConfigId())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.