Skip to content

Commit

Permalink
streams - implement meaningful iterator() for JSONObject. Also, fix g…
Browse files Browse the repository at this point in the history
…radlew permissions
  • Loading branch information
Sean Leary authored and Sean Leary committed Sep 4, 2023
1 parent c619419 commit e4a3337
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified gradlew
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/java/org/json/JSONObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
public class JSONObject implements Iterable<String> {
@Override
public Iterator<String> iterator() {
return null;
return keys();
}

@Override
Expand Down

0 comments on commit e4a3337

Please sign in to comment.