@@ -0,0 +1,775 @@
+package com.alibaba.json.bvt.parser.stream;%0A%0Aimport java.io.StringReader;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSONReader;%0Aimport com.alibaba.fastjson.parser.JSONToken;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class JSONReaderTest_1 extends TestCase %7B%0A%09public void test_read() throws Exception %7B%0A%09%09String text = %22%7B%5C%22id%5C%22:1001%7D%22;%0A%09%09JSONReader reader = new JSONReader(new StringReader(text));%0A%09%09Assert.assertEquals(JSONToken.LBRACE, reader.peek());%0A%09%09reader.startObject();%0A%09%09Assert.assertEquals(JSONToken.LITERAL_STRING, reader.peek());%0A%09%09Assert.assertEquals(%22id%22, reader.readString());%0A%09%09Assert.assertEquals(JSONToken.COLON, reader.peek());%0A%09%09Assert.assertEquals(Integer.valueOf(1001), reader.readInteger());%0A%09%09reader.endObject();%0A%09%09%0A%09%09reader.close();%0A%09%7D%0A%7D%0A

add testcase