A while ago I wrote a OSGi plugin to make the excellent Jackson JSON library available for every application on a Domino server. It works fine, except the security issue.
Today I was reading the blog post of John Dalsgaard about ‘Elevating permissions on your third party jar‘.
This inspired me to rewrite my Jackson JSON OSGi plugin and added a wrapper, the JacksonWrapper class, to elevate the permissions.
I have added 2 methods, which in my opinion, that are used the most. To read JSON to POJO object there is the readValue method and to write POJO object(s) to JSON as output of a Servlet there is the writeValueAsString method.
The methods have the same name as the underlying Jackson mapper class and will accept the same parameters, to make it easy.
If there is a need for more methods, let me know.
I have also updated my Bitbucket repository to reflect the latest changes, so the update site project can be used after download