public static String toJSONString(Object object) {
        if (object == null) {
            return null;
        }
        return JSON_FACADE.toJSONString(object);
    }
@Test
    public void assertToJSONString() {
        Assert.assertNull(JSONUtil.toJSONString(null));
        try {
            JSONAssert.assertEquals(EXPECTED_FOO_JSON, JSONUtil.toJSONString(EXPECTED_FOO), false);
        } catch (JSONException jse) {
            throw new RuntimeException(jse);
        }
    }