Class BigDecimalSerializer

java.lang.Object
org.spincast.plugins.gson.serializers.BigDecimalSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<BigDecimal>

public class BigDecimalSerializer extends Object implements com.google.gson.JsonSerializer<BigDecimal>
  • Constructor Details

    • BigDecimalSerializer

      public BigDecimalSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(BigDecimal bigDecimal, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<BigDecimal>