Can anyone tell me please how to convert html code into json obj by using form.
For example:
If this is my HTML Code:
<div class="title">#Title 1</div>
<div class="content"><p>Some Content</p></div>
I want to convert this into Json obj like
[{"title":"#Title 1","content":"<p>some content<\/p>"}]