json相关的包:jackson-annotations-2.8.9.jar,jackson-core-2.8.9.jar,jackson-databind-2.8.9.jar
1.jsp
<script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
<body>
<button onclick="showjson();">showjson</button>
<p><label for="">salesid</label><input type="text" id="salesid"></p>
<p><label for="">customerid</label><input type="text" id="customerid"></p>
<table id="coupontable">
<thead>
<tr>
<th>面值</th>
<th>最低消费</th>
<th>有效日期</th>
<th>数量</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" class="money"></td>
<td><input type="text" class="limitmoney">&l