@SuppressWarnings("unchecked") @Override public J parse(String json, boolean fix) { return fix ? parse(Properties.wrapPropertiesString(json)) : parse(json); }
public static Properties create(String properties) { if (properties != null && !properties.isEmpty()) { String p = wrapPropertiesString(properties); try { return JsUtils.parseJSON(p); } catch (Exception e) { if (!GWT.isProdMode()) { System.err.println("Error creating Properties: \n> " + properties + "\n< " + p + "\n" + e.getMessage()); } } } return create(); }
public static IsProperties create() { return getFactory().create(); }
String json = String.valueOf(args[0]); if (largs > 1 && Boolean.TRUE.equals(args[1])) { json = Properties.wrapPropertiesString(json);