Skip to content

Commit

Permalink
Merge pull request eclipse-vertx#730 from nscavell/jsonarray-tostring
Browse files Browse the repository at this point in the history
Support toString for JsonArray
  • Loading branch information
purplefox committed Oct 19, 2013
2 parents 1ccb273 + 71f3734 commit 681e79e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ public JsonArray copy() {
return new JsonArray(encode());
}

@Override
public String toString() {
return encode();
}

@Override
public boolean equals(Object o) {
if (this == o)
Expand Down

0 comments on commit 681e79e

Please sign in to comment.