1
mirror of https://github.com/CarmJos/BukkitJSONSerializer.git synced 2026-06-04 08:38:22 +08:00

Update README.md

This commit is contained in:
2022-12-10 11:36:47 +08:00
committed by GitHub
parent 49d260ffae
commit ed49c067b8
+1 -1
View File
@@ -19,7 +19,7 @@ First, we should get the serializer instance or create a new one.
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
Location location = new Location(Bukkit.getWorlds().get(0), -100.5, 100, 105.5);