Class StringMapSerializer

java.lang.Object
com.postman.collection.adapter.StringMapSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<HashMap<String,String>>

public class StringMapSerializer extends Object implements com.google.gson.JsonSerializer<HashMap<String,String>>
  • Constructor Details

    • StringMapSerializer

      public StringMapSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(HashMap<String,String> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<HashMap<String,String>>
      Parameters:
      src -
      typeOfSrc -
      context -
      Returns:
      JsonElement