add json codec

Hi I add json codec for issue #1129,using jackson ,please review.
I am not sure gson ,jackson or fastjson which one to base on,just choose the jackson.