Interface Marshaller<T>

    • Method Detail

      • writeObject

        void writeObject​(StructuredWriter writer,
                         T object)
        Parameters:
        writer - the StructuredWriter where to write the data of the given object to. Create via e.g. JsonFormat.get().writer(writer) or XmlFormat.get().writer(writer).
        object - the object to serialize or marshall. If this is an instance of MarshallableObject then this has to be the called instance itself.