Skip to content

Commit

Permalink
3.2.66
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Apr 16, 2023
1 parent f25fdec commit e9c697b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
</dependency>
```

Expand Down
3 changes: 3 additions & 0 deletions UPDATE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 3.2.66
* 增加 Charset 反序化支持

#### 3.2.65
* 增加 File 反序化支持

Expand Down
2 changes: 1 addition & 1 deletion snack3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
<packaging>jar</packaging>

<name>${project.artifactId}</name>
Expand Down
3 changes: 3 additions & 0 deletions snack3/src/main/java/org/noear/snack/to/ObjectToer.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.math.BigDecimal;
import java.math.BigInteger;
import java.net.InetSocketAddress;
import java.nio.charset.Charset;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
Expand Down Expand Up @@ -229,6 +230,8 @@ public Object analyseVal(Context ctx, ONodeData d, Class<?> clz) throws Exceptio
return ctx.options.loadClass(v.getString());
} else if (is(File.class, clz)){
return new File(v.getString());
} else if (is(Charset.class, clz)){
return Charset.forName(v.getString());
} else if (is(Object.class, clz)) {
Object val = v.getRaw();

Expand Down
2 changes: 1 addition & 1 deletion snack3_demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
</dependency>

<!-- <dependency>-->
Expand Down
2 changes: 1 addition & 1 deletion 文章_Java_中_Snack3的使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Snack3 基于jdk8,80kb大小,非常小巧。
<dependency>
<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion 文章_Snack3_一个新的微型JSON框架.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ONode 即 `One node` 之意;借签了 `Javascript` 所有变量由 `var` 申
<dependency>
<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion 文章_Snack3之Jsonpath使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Snack3 是一个支持JSONPath的JSON框架。JSONPath是一个很强大的功
<dependency>
<groupId>org.noear</groupId>
<artifactId>snack3</artifactId>
<version>3.2.65</version>
<version>3.2.66</version>
</dependency>
```

Expand Down

0 comments on commit e9c697b

Please sign in to comment.