I have an output of HTML like this:
<input type='text' id='status' name='status' value='0'>
<input type='text' id='description' name='description' value='Success'>
<input type='text' id='COMPANY' name='COMPANY' value='201'>
and so on.
I would like to extract the id,name and value from this and convert them to JSON in java.
Edit: My JSPN output will look like
{"id": "status","name": "status", "value": "0"}
etc.