mirror of
https://github.com/CarmJos/BukkitJSONSerializer.git
synced 2024-09-19 21:35:57 +00:00
Update README.md
This commit is contained in:
parent
3e1399ebf6
commit
f4e391f1d0
@ -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}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user