List of usage examples for com.google.gwt.json.client JSONString isString
@Override
public JSONString isString()
this, as this is a JSONString. From source file:org.livespark.formmodeler.editor.client.editor.rendering.renderers.selectors.utils.JSONParamsReader.java
License:Apache License
protected String readParam(String params, String paramToRead) { JSONObject object = JSONParser.parseStrict(params).isObject(); if (object != null) { JSONString paramValue = object.get(paramToRead).isString(); if (paramValue != null && paramValue.isString() != null) return paramValue.stringValue(); }/* w w w . j av a 2 s . c o m*/ return ""; }