@@ -0,0 +1,749 @@
+package com.ctrip.ops.sysdev.json;%0A%0A/**%0A * Created by liujia on 17/2/10.%0A */%0A%0Aimport org.joda.time.DateTime;%0Aimport org.json.simple.JSONValue;%0Aimport org.testng.Assert;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.util.HashMap;%0A%0Apublic class TestJson %7B%0A    @Test%0A    public void testJsonParse() %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testJsonDump() %7B%0A        HashMap event = new HashMap%3CString, Object%3E() %7B%0A            %7B%0A                put(%22message%22, %22hello json%22);%0A                put(%22@timestamp%22, DateTime.parse(%222017-03-02T11:15:54+0800%22));%0A            %7D%0A        %7D;%0A%0A        String rst = JSONValue.toJSONString(event);%0A        Assert.assertEquals(%22%7B%5C%22@timestamp%5C%22:%5C%222017-03-02T11:15:54.000+08:00%5C%22, %5C%22message%5C%22:%5C%22hello json%5C%22%7D%22, rst);%0A    %7D%0A%7D%0A

add json parse date test case