Class CPJSONUtil

java.lang.Object
com.liferay.commerce.product.util.CPJSONUtil

public class CPJSONUtil extends Object
  • 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

      public static boolean isEmpty(String json)
    • toJSONArray

      public static com.liferay.portal.kernel.json.JSONArray toJSONArray(Map<String,List<String>> cpDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys)
    • 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