Class GsonMessageAttachmentVideoHtmlFactory

    • Constructor Detail

      • GsonMessageAttachmentVideoHtmlFactory

        public GsonMessageAttachmentVideoHtmlFactory()
      • GsonMessageAttachmentVideoHtmlFactory

        public GsonMessageAttachmentVideoHtmlFactory​(boolean failOnUnknownProperties)
    • Method Detail

      • deserialize

        public Attachment.VideoHtml deserialize​(com.google.gson.JsonElement json,
                                                Type typeOfT,
                                                com.google.gson.JsonDeserializationContext context)
                                         throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<Attachment.VideoHtml>
        Throws:
        com.google.gson.JsonParseException
      • serialize

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