Currently bool is printed as a json string.
@@ -133,6 +133,7 @@ public class JsonRendererTestCase {
+ " \"float\": 14.29,\n"
+ " \"integer\": 1,\n"
+ " \"long\": 4398046511104,\n"
+ + " \"bool\": \"true\",\n"
+ " \"object\": \"thingie\",\n"
+ " \"string\": \"stuff\",\n"
+ " \"predicate\": \"a in [b]\",\n"
@@ -158,6 +159,7 @@ public class JsonRendererTestCase {
h.setField("float", 14.29f);
h.setField("integer", 1);
h.setField("long", 4398046511104L);
+ h.setField("bool", true);
h.setField("string", "stuff");
h.setField("predicate", Predicate.fromString("a in [b]"));
h.setField("tensor1", new TensorFieldValue(Tensor.from("{ {x:a}: 2.0}")));
