I have a dynamic list and to get each object from each row and convert it into an JSON object that contains an array. I'm not sure the best approach on how to do this? any examples would be great.
<div id="clientList">
<row id="row_ccf06bc6-75e5-6db5-e7ed-b3f08856fb61">
<label class="col-lg-1 control-label">Name:</label>
<div class="col-lg-2"><input type="text" id="ClientName_ccf06bc6-75e5-6db5-e7ed-b3f08856fb61">
<input type="hidden" id="ClientId_ccf06bc6-75e5-6db5-e7ed-b3f08856fb61">
</row>
<row id="row_cb5dbc04-62cd-5a19-edf2-2526f7b2aa91">
<label class="col-lg-1 control-label">Name:</label>
<div class="col-lg-2"><input type="text" id="ClientName_cb5dbc04-62cd-5a19-edf2-2526f7b2aa91">
<input type="hidden" id="ClientId_cb5dbc04-62cd-5a19-edf2-2526f7b2aa91">
</row>
</div>
var Account = new object();
$.each(row_???
Account.Clients ='[ClientId: ClientId_???, ClientName: ClientName_???]'
)