From 1d7c090bb3dfcd047faa4b338c5858b05716d71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Wed, 4 May 2016 13:06:47 +0200 Subject: [PATCH] use toString instead of asString for numbers and booleans --- src/burp/JsonJTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/burp/JsonJTree.java b/src/burp/JsonJTree.java index 300da73..9141d35 100644 --- a/src/burp/JsonJTree.java +++ b/src/burp/JsonJTree.java @@ -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; }