@Test
    public void testBean() {

        Job job = new Job();
        job.setCronExpression("xcvxcvxfadsf");
        job.setParam("xxx", "fadsfads");

        String json = new JSONObject(job).toString();
        System.out.println(json);

        Job destJob = JSONObject.parseObject(json, new TypeReference<Job>() {
        }.getType());
        System.out.println(destJob);
    }
@author Robert HG (254963746@qq.com) on 12/29/15.
lts-core/src/test/java/com/github/ltsopensource/json/JSONTest.java