use of com.fasterxml.jackson.databind.util.JSONWrappedObject in project jackson-databind by FasterXML.
the class TestJSONP method testGeneralWrapping.
public void testGeneralWrapping() throws Exception {
JSONWrappedObject input = new JSONWrappedObject("/*Foo*/", "\n// the end", Arrays.asList());
assertEquals("/*Foo*/[]\n// the end", MAPPER.writeValueAsString(input));
}
Aggregations