Class JsonUtils

java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.JsonUtils

public final class JsonUtils extends Object
Some helper methods for dealing with Json data.
Author:
TheBusyBiscuit
  • Method Details

    • parseString

      @Nonnull public static com.google.gson.JsonElement parseString(@Nonnull String json)
      Little helper method to provide JsonParser functionality across different versions of Gson.
      Parameters:
      json - The String to parse
      Returns:
      The parsed JsonElement