Class JsonStringExpander

java.lang.Object
com.github.twitch4j.common.feign.JsonStringExpander
All Implemented Interfaces:
feign.Param.Expander

public class JsonStringExpander extends Object implements feign.Param.Expander
Escapes a string so that it can be safely inserted in an existing JSON string that is within the Body
  • Constructor Details

    • JsonStringExpander

      public JsonStringExpander()
  • Method Details

    • expand

      public String expand(Object value)
      Specified by:
      expand in interface feign.Param.Expander