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

    Map<String,Object> jsonObj = new HashMap<>();
    char ch = '@';
    jsonObj.put("x", ch);
    String json = JSONUtil.toJSON(jsonObj);
    validateJSON(json);
    assertThat(json, is("{\"x\":\"@\"}"));
}