Hi All,

I’m slowly making progress using lightstreamer but I have only been able to pass data from the adapter to the client in the form of a string.
For ex:
//somewhere in the DataAdapter
Map jmsData = (Map)objectMessage.getObject(); //get a Map from a JMS queue. 

//SomeObject is some complex Object 
SomeObject data = jmsData.get(“data”);

Map sendToClient = new HashMap();
sendToClient.put(“name”, data.getName());
sentToClient.put(“age”, Integer.toStrign(data.getAge());

itemEventListener.smartUpdate(itemHandle, sendToClient, false);
Is there a way to pass a representation of SomeObject to the client maybe using JSON, or am I limited to just Strings?