commit 427111314eea8a01b43ad30bc10f744a8edcca81 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Jan 28 14:40:15 2014 +0100
"True" is not valid in JSON, but "true" is. --- src/org/torproject/onionoo/NodeDataWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/torproject/onionoo/NodeDataWriter.java b/src/org/torproject/onionoo/NodeDataWriter.java index 34692e8..cc9addb 100644 --- a/src/org/torproject/onionoo/NodeDataWriter.java +++ b/src/org/torproject/onionoo/NodeDataWriter.java @@ -381,7 +381,7 @@ public class NodeDataWriter implements DataWriter, DescriptorListener { sb.append("]}"); } if (descriptor.isHibernating()) { - sb.append(",\n"hibernating":True"); + sb.append(",\n"hibernating":true"); } detailsStatus = new DetailsStatus(); detailsStatus.documentString = sb.toString();