@Test
public void testByte() throws ScriptException, NoSuchMethodException
{

    Map<String,Object> jsonObj = new HashMap<>();
    byte b = 27;
    jsonObj.put("x", b);
    String json = JSONUtil.toJSON(jsonObj);
    validateJSON(json);
    assertThat(json, is("{\"x\":27}"));
}