Class JsonUtil

java.lang.Object
net.guizhanss.guizhanlib.utils.JsonUtil

@Deprecated(since="2.0.0", forRemoval=true) public final class JsonUtil extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
请使用 JsonUtil 代替
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.gson.JsonElement
    getFromPath(com.google.gson.JsonObject root, String path)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static com.google.gson.JsonElement
    parse(com.google.gson.stream.JsonReader reader)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static com.google.gson.JsonElement
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static com.google.gson.JsonElement
    parse(String json)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • parse

      @Nonnull public static com.google.gson.JsonElement parse(@Nonnull String json)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • parse

      @Nonnull public static com.google.gson.JsonElement parse(@Nonnull BufferedReader reader)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • parse

      @Nonnull public static com.google.gson.JsonElement parse(@Nonnull com.google.gson.stream.JsonReader reader)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getFromPath

      @Nullable public static com.google.gson.JsonElement getFromPath(@Nonnull com.google.gson.JsonObject root, @Nonnull String path)
      Deprecated, for removal: This API element is subject to removal in a future version.