Class SourceGenericDTOMapper

java.lang.Object
com.levigo.jadice.web.client.messaging.SourceGenericDTOMapper

public class SourceGenericDTOMapper extends Object

The mapper used for non-JavaScriptObject serialization classes, esp. the ones used by JsInterop. You have to take care of providing a correct SourceGenericDTO.getObjectAsJson(Object) implementation, as otherwise loading a document with that source will not work.

Luckily import jsinterop.base.Js#asString(object) should be all you need if you work with JsInterop and wire the class correctly (see com.levigo.jadice.web.demo.common.client.service.sources.RemoteIDParamsDTO)