package org.frameworkset.http.converter.json; public interface JsonConvertInf { public void setJsonpCallback(String jsonpCallback); /** * Indicate whether the JSON output by this view should be prefixed with ")]}', ". Default is false. * <p>Prefixing the JSON string in this manner is used to help prevent JSON Hijacking. * The prefix renders the string syntactically invalid as a script so that it cannot be hijacked. * This prefix should be stripped before parsing the string as JSON. * @see #setJsonPrefix */ public void setPrefixJson(boolean prefixJson) ; /** * @param objectMapper */ public void setObjectMapper(Object objectMapper); }