File tree Expand file tree Collapse file tree
src/test/java/com/jsoniter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.jsoniter</groupId >
6- <version >0.9.13-SNAPSHOT </version >
6+ <version >0.9.13</version >
77 <artifactId >jsoniter</artifactId >
88 <name >json iterator</name >
99 <description >jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go</description >
Original file line number Diff line number Diff line change 99import com .jsoniter .spi .EmptyExtension ;
1010import com .jsoniter .spi .JsoniterSpi ;
1111import com .jsoniter .spi .TypeLiteral ;
12- import com .sun .deploy .config .DefaultConfig ;
1312import junit .framework .TestCase ;
1413
1514import java .io .IOException ;
1615import java .lang .reflect .Type ;
17- import java .util .Date ;
1816import java .util .HashMap ;
1917
2018public class TestDemo extends TestCase {
Original file line number Diff line number Diff line change 88import com .jsoniter .extra .GsonCompatibilityMode ;
99import junit .framework .TestCase ;
1010
11- import java .io .FileInputStream ;
12- import java .io .FileNotFoundException ;
13- import java .io .IOException ;
1411import java .lang .reflect .Field ;
1512import java .util .Date ;
1613import java .util .TimeZone ;
@@ -264,10 +261,4 @@ public void test_null_as_double() {
264261 obj = JsonIterator .deserialize (config , "{\" field\" :null}" , TestObject10 .class );
265262 assertEquals (0.0d , obj .field );
266263 }
267-
268- public void test () throws IOException {
269- FileInputStream stream = new FileInputStream ("/tmp/tweets.json" );
270- JsonIterator iter = JsonIterator .parse (stream , 4092 );
271- System .out .println (iter .whatIsNext ());
272- }
273264}
You can’t perform that action at this time.
0 commit comments