@ProviderType
public interface JsonHelper
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFirstElementStringValue(java.lang.String jsonArrayString) |
com.liferay.portal.kernel.json.JSONArray |
getJSONArray(java.lang.String json) |
com.liferay.portal.kernel.json.JSONArray |
getValueAsJSONArray(java.lang.String key,
com.liferay.portal.kernel.json.JSONObject jsonObject) |
boolean |
isArray(java.lang.String json) |
boolean |
isEmpty(java.lang.String json) |
com.liferay.portal.kernel.json.JSONArray |
toJSONArray(java.util.Map<java.lang.String,java.util.List<java.lang.String>> keyValues) |
java.lang.String getFirstElementStringValue(java.lang.String jsonArrayString)
com.liferay.portal.kernel.json.JSONArray getJSONArray(java.lang.String json) throws com.liferay.portal.kernel.json.JSONException
com.liferay.portal.kernel.json.JSONException
com.liferay.portal.kernel.json.JSONArray getValueAsJSONArray(java.lang.String key, com.liferay.portal.kernel.json.JSONObject jsonObject)
boolean isArray(java.lang.String json)
boolean isEmpty(java.lang.String json)
com.liferay.portal.kernel.json.JSONArray toJSONArray(java.util.Map<java.lang.String,java.util.List<java.lang.String>> keyValues)