How can I converting JSON back to POJO?

I’m using couchbase4.X as a store for Shiro session objects (of the class
org.apache.shiro.session.mgt.SimpleSession). Doing a simple '…as JSON’
with my SimpleSession object is giving me the requisite JSON string to store
in Couchbase. When I retrieve this JSON string, I want to be able to recreate
the SimpleSession object.but faild. How can I converting JSON back to SimpleSession?

client version is 2.2.X.

That’d be a question for the documentation or the mailing list for Apache Shiro I believe. At the moment, you’re not describing how it failed so it may not be related to anything from Couchbase.