Closed ExE-Boss closed 7 years ago
This would allow for the ability to pass Data arguments to commands.
For this we could use the JSON Processing API. To use it, we simply need to add the following to our build script:
dependencies { compile group: "javax.json", artifact: "javax.json-api", version: "1.0" runtime group: "org.glassfish", artifact: "javax.json", version: "1.0.4" }
Why not GSON?
Because the JSON Processing reference implementation is made by Glassfish.
Both Minecraft and Terasology use GSON.
I'd say use GSON since those are our main targets currently.
This would allow for the ability to pass Data arguments to commands.
For this we could use the JSON Processing API. To use it, we simply need to add the following to our build script: