Class JsonHtmlEncoder


  • public final class JsonHtmlEncoder
    extends com.squareup.moshi.JsonAdapter<String>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.squareup.moshi.JsonAdapter

        com.squareup.moshi.JsonAdapter.Factory
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonHtmlEncoder()  
    • Constructor Detail

      • JsonHtmlEncoder

        public JsonHtmlEncoder()
    • Method Detail

      • fromJson

        public String fromJson​(com.squareup.moshi.JsonReader reader)
                        throws IOException
        Specified by:
        fromJson in class com.squareup.moshi.JsonAdapter<String>
        Throws:
        IOException
      • toJson

        public void toJson​(com.squareup.moshi.JsonWriter writer,
                           String value)
                    throws IOException
        Specified by:
        toJson in class com.squareup.moshi.JsonAdapter<String>
        Throws:
        IOException