@Test
    public void testArray(){
        byte[] b = new byte[]{
                1,2,
                3,3
        };

        String json = new JSONArray(b).toString();
        System.out.println(json);

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