title: Json object in Map, how to get hold of it in java?
body: <p>In an XPages application I have in a sessionScope variable the configuration for the application in JSON format.</p>
  
  <p>I wonder how I can get hold of this configuration again in Java?</p>
  
  <p>I tried:</p>
  
  <pre class="lang-java prettyprint-override"><code>Map&lt;String, Object&gt; sesScope = ExtLibUtil.getSessionScope();
  if (null != sesScope.get("configJSON")){
      JsonJavaObject jsonObject = new JsonJavaObject();
      jsonObject = (JsonJavaObject) sesScope.get("configJSON");
      System.out.println("got object?");
      System.out.println("json " + jsonObject.toString());
  }   
  </code></pre>
  
  <p>In the console I never get to the "got object?" print statement. What am I doing wrong?</p>