@@ -0,0 +1,976 @@
+package com.alibaba.json.bvt;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class JSONBytesTest extends TestCase %7B%0A%0A    public void test_codec() throws Exception %7B%0A        int len = (Character.MAX_VALUE - Character.MIN_VALUE) + 1;%0A        char%5B%5D chars = new char%5Blen%5D;%0A        for (int i = 0; i %3C len; ++i) %7B%0A            char ch = (char) ((int) Character.MAX_VALUE + i);%0A            if (ch %3E= 55296 && ch %3C= 57344) %7B%0A                continue;%0A            %7D%0A            chars%5Bi%5D = ch;%0A        %7D%0A        %0A        String text = new String(chars);%0A        %0A        byte%5B%5D bytes = JSON.toJSONBytes(text);%0A        String text2 = (String) JSON.parse(bytes);%0A        %0A        Assert.assertEquals(text.length(), text2.length());%0A        for (int i = 0; i %3C len; ++i) %7B%0A            char c1 = text.charAt(i);%0A            char c2 = text2.charAt(i);%0A            %0A            Assert.assertEquals(c1, c2);%0A        %7D%0A    %7D%0A    %0A    %0A%7D%0A

add utf8 codec test