Class ElementNameGsonFieldNamingStrategy

java.lang.Object
com.sap.cloud.sdk.result.ElementNameGsonFieldNamingStrategy
All Implemented Interfaces:
com.google.gson.FieldNamingStrategy

public class ElementNameGsonFieldNamingStrategy extends Object implements com.google.gson.FieldNamingStrategy
Implementation of GSON FieldNamingStrategy using the value from annotation ElementName when serializing field names.
  • Constructor Details

    • ElementNameGsonFieldNamingStrategy

      public ElementNameGsonFieldNamingStrategy()
  • Method Details

    • translateName

      @Nonnull public String translateName(@Nonnull Field field)
      Specified by:
      translateName in interface com.google.gson.FieldNamingStrategy