Class JsonObjectMarshaller<T>


  • public class JsonObjectMarshaller<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonObjectMarshaller​(java.lang.Class<T> clazz, boolean isPrittyPrintEnabled)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void marshall​(java.io.OutputStream outputStream, T object)  
      void marshall​(java.io.Writer outputWriter, T object)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonObjectMarshaller

        public JsonObjectMarshaller​(java.lang.Class<T> clazz,
                                    boolean isPrittyPrintEnabled)
    • Method Detail

      • marshall

        public void marshall​(java.io.OutputStream outputStream,
                             T object)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • marshall

        public void marshall​(java.io.Writer outputWriter,
                             T object)
                      throws java.io.IOException
        Throws:
        java.io.IOException