mirror of
https://github.com/CarmJos/BukkitJSONSerializer.git
synced 2026-06-04 16:48:18 +08:00
Update README.md
This commit is contained in:
@@ -31,7 +31,7 @@ When we need to read the object, just use `deserializeJSON(json,typeClass)` to d
|
|||||||
string.
|
string.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
Location location = serializer.deserializeSON(json, Location.class);
|
Location location = serializer.deserializeJSON(json, Location.class);
|
||||||
// Location{world=world, x=-100.5, y=100, z=105.5, pitch=0.0, yaw=0.0}
|
// Location{world=world, x=-100.5, y=100, z=105.5, pitch=0.0, yaw=0.0}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user