How to deal with error handling in object literals?
<p>How can I do some error handling within an object literal?<br>
At least I wanted it to work like this :</p>

<pre><code>window.App={
  Variables:{
    "views_data":
      try{
        json_parse(Drupal.settings.royal)
      }
      catch(e){
        JSON.parse(Drupal.settings.royal)
      }        
  }
}
</code></pre>
