JSONDoc is framework agnostic, meaning that you can use it with your favourite MVC framework. In this case you should only include jsondoc-core
and use the DefaultJSONDocScanner class (implementation of JSONDocScanner interface) to generate an object of kind JSONDoc that can be later marshalled in JSON with your favourite marshaller.
Here is the code of a Spring MVC controller that returns the JSON containing the documentation (using a different implementation of JSONDocScanner) maybe you will find it useful:
See Configuration for more information about getJSONDoc arguments.
Display the generated docs
You can include the jsondoc-ui project in your web application. This provides an interface to browse the generated documentation and a playground to test methods. It is built on Twitter Bootstrap and can be easily customized for you needs. To do this you need to get the jsondoc-ui jar, extract it and copy css, js, font, jsondoc-ui.html to your project's webapp folder. Check out the live demo here or the sample applications code. Here is the dependency to the jsondoc-ui:
Build your own viewer
If you are not satisfied with the standard interface, you can use the generated JSON documentation in a fully customized interface!