Class GsonNumberAdapter

java.lang.Object
com.google.gson.TypeAdapter<Number>
com.alibaba.dashscope.legacy_2x.utils.GsonNumberAdapter

@Deprecated public class GsonNumberAdapter extends com.google.gson.TypeAdapter<Number>
Deprecated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.stream.JsonReader in)
    Deprecated.
     
    void
    write(com.google.gson.stream.JsonWriter out, Number value)
    Deprecated.
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

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

    • GsonNumberAdapter

      public GsonNumberAdapter()
      Deprecated.
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, Number value) throws IOException
      Deprecated.
      Specified by:
      write in class com.google.gson.TypeAdapter<Number>
      Throws:
      IOException
    • read

      public Number read(com.google.gson.stream.JsonReader in) throws IOException
      Deprecated.
      Specified by:
      read in class com.google.gson.TypeAdapter<Number>
      Throws:
      IOException