Class PriceLevelAdapter

java.lang.Object
com.google.gson.TypeAdapter<PriceLevel>
ai.nextbillion.maps.internal.PriceLevelAdapter

public class PriceLevelAdapter
extends com.google.gson.TypeAdapter<PriceLevel>
This class handles conversion from JSON to PriceLevel.

Please see GSON Type Adapter for more detail.

  • Constructor Summary

    Constructors 
    Constructor Description
    PriceLevelAdapter()  
  • Method Summary

    Modifier and Type Method Description
    PriceLevel read​(com.google.gson.stream.JsonReader reader)  
    void write​(com.google.gson.stream.JsonWriter writer, PriceLevel value)
    This method is not implemented.

    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

  • Method Details

    • read

      public PriceLevel read​(com.google.gson.stream.JsonReader reader) throws java.io.IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<PriceLevel>
      Throws:
      java.io.IOException
    • write

      public void write​(com.google.gson.stream.JsonWriter writer, PriceLevel value) throws java.io.IOException
      This method is not implemented.
      Specified by:
      write in class com.google.gson.TypeAdapter<PriceLevel>
      Throws:
      java.io.IOException