-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove org.json lib fork and use new version of the API https://githu… (
#865) * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 d844074 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java Issue: 105607 * Fix SDTs instantiation not working in offline Android procedures * Rename Iterator variables * Remove org.json lib fork and use new version of the API https://github.com/steary/JSON-java --------- Co-authored-by: Juan Pablo González <[email protected]>
- Loading branch information
Showing
89 changed files
with
499 additions
and
5,326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
android/src/main/java/com/genexus/db/driver/ExternalProviderMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
android/src/main/java/com/genexus/specific/android/AndroidJSONSerialization.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.genexus.specific.android; | ||
|
||
import com.genexus.common.interfaces.IExtensionJSONSerialization; | ||
import com.genexus.json.JSONObjectWrapper; | ||
|
||
import java.util.Iterator; | ||
import java.util.LinkedHashMap; | ||
import java.util.Map; | ||
|
||
public class AndroidJSONSerialization implements IExtensionJSONSerialization { | ||
@Override | ||
public Iterator<Map.Entry<String, Object>> getJSONObjectIterator(JSONObjectWrapper obj) { | ||
Map<String, Object> map = new LinkedHashMap<>(); | ||
for (Iterator<String> it = obj.keys(); it.hasNext(); ) { | ||
String k = it.next(); | ||
map.put(k, null); // value is not used for now, so we just set it as null | ||
} | ||
|
||
return map.entrySet().iterator(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common/src/main/java/com/genexus/common/interfaces/IExtensionJSONSerialization.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.genexus.common.interfaces; | ||
|
||
import com.genexus.json.JSONObjectWrapper; | ||
|
||
import java.util.Iterator; | ||
import java.util.Map; | ||
|
||
public interface IExtensionJSONSerialization { | ||
Iterator<Map.Entry<String, Object>> getJSONObjectIterator(JSONObjectWrapper obj); | ||
} |
2 changes: 1 addition & 1 deletion
2
common/src/main/java/com/genexus/common/interfaces/IGXWebGrid.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.