mirror of
https://github.com/CarmJos/BukkitJSONSerializer.git
synced 2024-09-19 13:25:58 +00:00
Update README.md
This commit is contained in:
parent
49d260ffae
commit
ed49c067b8
@ -19,7 +19,7 @@ First, we should get the serializer instance or create a new one.
|
|||||||
BukkitJSONSerializer serializer = BukkitJSONSerializer.get();
|
BukkitJSONSerializer serializer = BukkitJSONSerializer.get();
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, we cloud use `serializeToJSON(ConfigurationSerializable)` to serialize a object to JSON.
|
Then, we could use `serializeToJSON(ConfigurationSerializable)` to serialize a object to JSON.
|
||||||
|
|
||||||
```jave
|
```jave
|
||||||
Location location = new Location(Bukkit.getWorlds().get(0), -100.5, 100, 105.5);
|
Location location = new Location(Bukkit.getWorlds().get(0), -100.5, 100, 105.5);
|
||||||
|
Loading…
Reference in New Issue
Block a user