json to table react code example
Example: react JSON data to display in a table
<tbody>
{
Object.keys(this.state.birth_details).map(function (element) {
return (
<tr key={element}>
<td>{element}</td>
<td>{this.state.birth_details[element]}</td>
</tr>
);
})
}
</tbody>