.</p>


<div class="detailHeader" id="saveDataAsJson-detail">
saveDataAsJson()
<span class="detailHeaderTag">
method
</span>
</div>

<table class="summaryTable">
<tr><td colspan="3">
<div class="signature2">
public static string <b>saveDataAsJson</b>(array $data)</div>
</td></tr>
<tr>
  <td class="paramNameCol">$data</td>
  <td class="paramTypeCol">array</td>
  <td class="paramDescCol">the data for the tree view (see <a href="/doc/api/1.0/CTreeView#data">data</a> for possible data structure).</td>
</tr>
<tr