Hi guys, I'm trying to use Jackson directly with
javascriptsupport.require.with() like so

ObjectMapper mapper = new ObjectMapper();ObjectNode node =
mapper.valueToTree(pojo);

javascriptsupport.require.with(node);


However I get the following exception

JSONObject properties may be one of Boolean, Number, String,
org.apache.tapestry5.json.JSONArray, org.apache.tapestry5.json.JSONLiteral,
org.apache.tapestry5.json.JSONObject,
org.apache.tapestry5.json.JSONObject$Null,
org.apache.tapestry5.json.JSONString. Type
org.codehaus.jackson.node.ObjectNode is not allowed. -

I can't seem to find the API on require, does anybody know how I could use
jackson directly without having to first convert my Jackson object to a
string and then pass it into JSONObject?

Thanks,

-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to