List of usage examples for com.google.gwt.json.client JSONExpression JSONExpression
public JSONExpression(String expression)
From source file:com.brazoft.foundation.gwt.client.json.JSON.java
License:Apache License
public static JSONCollection<String> asExpressionCollection() { return new JSONCollection<String>() { @Override//w ww. j av a 2s. com JSONValue toJSONValue(String value) { return new JSONExpression(value); } @Override String toValue(JSONValue value) { return value.isString().stringValue(); } }; }