Hi,
I have the following HTML:
<ul>
<li>
<div>Something</div>
<ul>
<li>
<div>Something</div>
<ul>
<li>
<div>Something</div>
//more lists can come
</li>
<li>
<div>Something</div>
</li>
</ul>
</li>
<li>
<div>Something</div>
</li>
</ul>
</li>
<li>
<div>Something</div>
</li>
</ul>
The list can continue endlessly and the count of sublist is unknown (user defined). Is there a way to convert this into a JSON format string?
Thanks