Class CPJSONUtil
java.lang.Object
com.liferay.commerce.product.util.CPJSONUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.json.JSONArray
getJSONArray
(com.liferay.portal.kernel.json.JSONObject jsonObject, String key) static boolean
static com.liferay.portal.kernel.json.JSONArray
toJSONArray
(String json) static com.liferay.portal.kernel.json.JSONArray
toJSONArray
(Map<String, List<String>> cpDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys)
-
Constructor Details
-
CPJSONUtil
public CPJSONUtil()
-
-
Method Details
-
getJSONArray
public static com.liferay.portal.kernel.json.JSONArray getJSONArray(com.liferay.portal.kernel.json.JSONObject jsonObject, String key) -
isEmpty
-
toJSONArray
-
toJSONArray
public static com.liferay.portal.kernel.json.JSONArray toJSONArray(String json) throws com.liferay.portal.kernel.json.JSONException - Throws:
com.liferay.portal.kernel.json.JSONException
-