Required Libraries
The XCC interfaces include an integration with Jackson for manipulating JSON data in Java. To use XCC methods such as JsonItem.asJsonNode
or the ContentFactory.newJsonContent
overload that accepts a JsonNode
, you must have an installation of Jackson and put the Jackson jar files on your classpath.
Exactly which libraries you need to add to your classpath depends on the Jackson features you use, but you will probably need at least the Jackson core libraries, available from http://github.com/FasterXML/jackson
For example, you might need to add the following libraries to your classpath:
jackson-core-
version.jar
jackson-annotations-
version.jar
jackson-databind-
version.jar
For information on version restrictions, see XML Contentbase Connector for Java (XCC/J) Requirements.