how to display json data in table format in react native 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>