Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-134888

Support nested JSONArray elements in JSONUtil.getValue

Details

    Description

      When using JSONUtil.getValue(), property are automatically casted to JSONObject, which can cause errors if it is combined with nested JSONArray elements.

      We should check if this casting is valid before converting it to a JSONArray/JSONObject to prevent issues.

      Attachments

        Activity

          People

            shuyang.zhou Shuyang Zhou
            pablo.molina Pablo Molina
            Pablo Molina Pablo Molina
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.0.X
                7.1.X
                7.2.10 DXP FP17
                7.2.10.6 DXP SP6
                7.2.X
                7.3.10.3 DXP SP3
                7.3.X