简体   繁体   中英

Netbeans 8.0.2 project with Jersey and Jackson

I have a Netbeans project in 8.0.2. For various reasons, I am not using Maven.

I have some REST resource methods that return Map and some that return a complex POJO. These are to be converted to JSON.

From reading around, I gather that the Moxy default plugin cannot stream these to JSON and I would be better off using Jackson.

My question is: What are the various Jackson jars that I require ? Where do I get those from ? Remember, I am not using Maven, so I can't just add a dependency in pom.xml to jersey-media-json-jackson and be done with it.

You can manually download the various Jackson release JARs from Maven Central via GitHub ; see the projects' respective Downloads page. Since you're not using dependency management you'll need to manually ensure that all of Jackson's dependencies are satisfied (have fun!).

You'll need at least

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM