Class JsonHtmlEncoder

  • All Implemented Interfaces:
    com.google.gson.JsonSerializer<String>

    public class JsonHtmlEncoder
    extends Object
    implements com.google.gson.JsonSerializer<String>
    • Constructor Detail

      • JsonHtmlEncoder

        public JsonHtmlEncoder()
    • Method Detail

      • serialize

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