com.fasterxml.jackson.databind

Interface JsonSerializable

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void serialize(com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider)
      Serialization method called when no additional type information is to be included in serialization.
      void serializeWithType(com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
      Serialization method called when additional type information is expected to be included in serialization, for deserialization to use.
    • Method Detail

      • serialize

        void serialize(com.fasterxml.jackson.core.JsonGenerator jgen,
                     SerializerProvider provider)
                       throws IOException,
                              com.fasterxml.jackson.core.JsonProcessingException
        Serialization method called when no additional type information is to be included in serialization.
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException

Copyright © 2014 FasterXML. All Rights Reserved.