Interface IJSonMarshaller

All Known Implementing Classes:
JacksonMarshaller

public interface IJSonMarshaller
Interface used to marshall from ROIBean/FunctionBean to JSON and unmarshall from JSON to ROIBean/FunctionBean.
Use IMarshallerService for serializing/deserializing ROIs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a JSON String given an object
    Returns an object given a JSON String
  • Method Details

    • marshal

      String marshal(Object obj) throws Exception
      Returns a JSON String given an object
      Parameters:
      obj -
      Returns:
      json string
      Throws:
      Exception
    • unmarshal

      Object unmarshal(String json) throws Exception
      Returns an object given a JSON String
      Parameters:
      json -
      Returns:
      Object
      Throws:
      Exception