com.atlassian.greenhopper.web.rapid
Class GHJSONMarshaller
java.lang.Object
com.atlassian.greenhopper.web.rapid.GHJSONMarshaller
@Service
public class GHJSONMarshaller
- extends java.lang.Object
Provides marshalling of objects
Currently we use jackson for the encoding directly, ultimately it would be nice to go through Jersey to ensure we really use the same marshaller as
the resources
Method Summary |
java.lang.String |
marshalToJSON(java.lang.Object object)
|
|
unmarshalJSON(java.lang.String json,
java.lang.Class<T> type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GHJSONMarshaller
public GHJSONMarshaller()
marshalToJSON
public java.lang.String marshalToJSON(java.lang.Object object)
unmarshalJSON
public <T> T unmarshalJSON(java.lang.String json,
java.lang.Class<T> type)
Copyright © 2007-2012 Atlassian. All Rights Reserved.