Skip to content

Commit

Permalink
feat(android): expose JSON string constructor for JSArray (#2879)
Browse files Browse the repository at this point in the history
Co-authored-by: Keagan McClelland <[email protected]>
  • Loading branch information
jcesarmobile and ProofOfKeags authored May 7, 2020
1 parent 2f6f0ba commit 040bfc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/capacitor/src/main/java/com/getcapacitor/JSArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public JSArray() {
super();
}

public JSArray(String json) throws JSONException {
super(json);
}

public JSArray(Collection copyFrom) {
super(copyFrom);
}
Expand Down

0 comments on commit 040bfc8

Please sign in to comment.