Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 5ff5b99

Browse files
committed
update version
1 parent a02b39f commit 5ff5b99

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.jsoniter</groupId>
5-
<version>0.9.4-SNAPSHOT</version>
5+
<version>0.9.5-SNAPSHOT</version>
66
<artifactId>jsoniter-demo</artifactId>
77
<name>json iterator</name>
88
<description>jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go</description>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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.4</version>
6+
<version>0.9.5-SNAPSHOT</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>

src/main/java/com/jsoniter/CodegenImplObject.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import java.lang.reflect.Type;
66
import java.util.*;
7+
import java.util.zip.CRC32;
78

89
class CodegenImplObject {
910

src/main/java/com/jsoniter/IterImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ final static byte nextToken(JsonIterator iter) throws IOException {
138138
switch (c) {
139139
case ' ':
140140
case '\n':
141-
case '\t':
142141
case '\r':
142+
case '\t':
143143
continue;
144144
default:
145145
if (i > iter.tail) {

src/test/java/com/jsoniter/TestObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void test_empty_object() throws IOException {
3737
}
3838

3939
public void test_one_field() throws IOException {
40-
JsonIterator iter = JsonIterator.parse("{ 'field1' : 'hello' }".replace('\'', '"'));
40+
JsonIterator iter = JsonIterator.parse("{ 'field1'\r:\n\t'hello' }".replace('\'', '"'));
4141
assertEquals("field1", iter.readObject());
4242
assertEquals("hello", iter.readString());
4343
assertNull(iter.readObject());

0 commit comments

Comments
 (0)