I have a tag with data-bind = "value: contents" for an input tag in KnockOutJS
<input type="text" class="form-control" data-bind="value: contents" />
It displays in following format {"key1":"value1","key2":"value2"}
I'm building a table with name and value then split those keys and values separately and display in TDs
<td>
<strong>
<span id="textKey" data-bind="text: displayKey" />
</strong>
</td>
<td>
<input id="textValue" type="text" data-bind="value: displayValue" />
</td>
Could you help me some ideas of how I can split those keys and values into Dictionary<> and into columns and rows in my case?
Thank you