Skip to content

Commit 9b79487

Browse files
committed
Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java
Issue: 105607 d844074
1 parent 6ae833f commit 9b79487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ private void parseGridsDataParms(JSONObject gxGrids)
580580
{
581581
for (int i = 0; i < gridNames.length(); i++) {
582582
try {
583-
JSONObjectWrapper grid = (JSONObjectWrapper)gxGrids.get(gridNames.getString(i));
583+
JSONObject grid = (JSONObject)gxGrids.get(gridNames.getString(i));
584584
if (grid.getInt("id") != 0 && !grid.getString("lastRow").equals(""))
585585
{
586586
int lastRow = grid.getInt("lastRow") + 1;
@@ -914,7 +914,7 @@ private Object[] beforeInvoke() throws JSONException, Exception {
914914
//Case for each line command or collection based grid
915915
int colDataLen = (allCollData == null) ? 0 : allCollData.length();
916916
for (int k = 0; k < colDataLen; k++) {
917-
JSONObjectWrapper columnData = (JSONObjectWrapper)allCollData.get(k);
917+
JSONObject columnData = (JSONObject)allCollData.get(k);
918918
parentRow = (String)columnData.get("pRow");
919919
columnValues = (JSONArray)columnData.get("c");
920920
if (columnData.has("hsh")) {
@@ -1012,7 +1012,7 @@ private Object[] beforeInvoke() throws JSONException, Exception {
10121012
columnValues = (value instanceof JSONArray ? (JSONArray)value : null);
10131013
if (parm.has("hsh") && httpContext.useSecurityTokenValidation()) {
10141014
try {
1015-
JSONObjectWrapper hashObj = (JSONObjectWrapper)((hash_i < inHashValues.length()) ? inHashValues.get(hash_i) : new JSONObjectWrapper());
1015+
JSONObject hashObj = (JSONObject)((hash_i < inHashValues.length()) ? inHashValues.get(hash_i) : new JSONObject());
10161016
String sRow = "";
10171017
String hash = "";
10181018
try {

0 commit comments

Comments
 (0)