Groovy Documentation

org.codehaus.groovy.grails.web.converters.marshaller
[Java] Interface ObjectMarshaller


@SuppressWarnings("rawtypes")
public interface ObjectMarshaller

An ObjectMarshaller is responsible for converting a Java/Groovy Object graph to a serialized form (JSON,XML). The ObjectMarshaller implementation must use a a type parameter - either grails.convereters.JSON or grails.converters.XML and it should to be thread-safe.

Authors:
Siegfried Puchbauer
Since:
1.1


Groovy Documentation