i need to convert array value to json in jquery
<p>i have array value. need to convert this array value into json format. example is given bleow</p>

<p>Sample Array</p>

<pre><code>[Management Portal!@!@Production Issue Handling!@!@/IONSWeb/refDataManagement/searchDynamicScripts.do, Management Portal!@!@ Event Browser!@!@/IONSWeb/orderManagement/eventBrowser.do, Management Portal!@!@ Order Workflow!@!@/IONSWeb/orderManagement/SearchOrdersWorkflow.do, ADMINISTRATION!@!@Admin Message!@!@/IONSWeb/userManagement/getMessageForBroadcast.do, ADMINISTRATION!@!@Audit!@!@/IONSWeb/userManagement/auditManagement.do, ADMINISTRATION!@!@Locks!@!@/IONSWeb/userManagement/lockSearch.do, ADMINISTRATION!@!@Queue!@!@/IONSWeb/GroupManagement/begin.do, ADMINISTRATION!@!@Role!@!@/IONSWeb/userManagement/goToRolePage.do, ADMINISTRATION!@!@Routing Rule!@!@/IONSWeb/ruleManagement/showRules.do, ADMINISTRATION!@!@Task Code!@!@/IONSWeb/ManageTaskCode/begin.do, ADMINISTRATION!@!@Trigger OutEvent!@!@/IONSWeb/triggerOutEvent.jsp, ADMINISTRATION!@!@User!@!@/IONSWeb/userManagement/begin.do, ADMINISTRATION!@!@Refresh Application Cache!@!@/IONSWeb/userManagement/refreshApplnCache.do] 
</code></pre>

<p>sample Json</p>

<pre><code>{
  "name": "Administration",      
  "sub": [
       {
          "name": "Add Order",
          "url": "/IONSWeb/userManagement/auditManagement.do"
        },
        {
          "name": "Infrastructure sonet Add Order ",
          "url": "/IONSWeb/userManagement/auditManagement.do"
        },
        {
          "name": "fGNS Add Order",
          "url": "/IONSWeb/userManagement/auditManagement.do"
        }           
]
}
</code></pre>

<p>Please anyone help on this</p>