Skip to content

Commit

Permalink
use toString instead of asString for numbers and booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
dnet committed May 4, 2016
1 parent 636013a commit 1d7c090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/burp/JsonJTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public String toString() {
} else if (value.isString()) {
return caption + ": \"" + value.asString() + '"';
} else if (value.isNumber() || value.isBoolean()) {
return caption + ": " + value.asString();
return caption + ": " + value.toString();
}
return caption;
}
Expand Down

0 comments on commit 1d7c090

Please sign in to comment.