我有这个:
我尝试使用 https://github.com/lightswitch05/table-to-json,但它不能处理每行的标题 :(
编辑:http://jsfiddle.net/Crw2C/773/
<table>
<tr>
<th>Name:</th>
<td>Carlos</td>
</tr>
<tr>
<th>Age:</th>
<td>22</td>
</tr>
</table>
我需要一个JSON格式。
{"Name":"Carlos","Age": 22}
我尝试使用 https://github.com/lightswitch05/table-to-json,但它不能处理每行的标题 :(
编辑:http://jsfiddle.net/Crw2C/773/