Convert Json to Table
click below to open converter
Tip : open console of browser. Right click and click on inspect or F12 to open the console
Use JSON.stringify method to convert Object to Json String
Now copy the json string and Past it to Json to Table and click on convert
This will help to prevent Json Invalid data error.
eg:
var users = [
{
id: 1,
name: 'bruce'
},
{
id: 2,
name: 'peter'
}
]
JSON.stringify(users)
'[{"id":1,"name":"bruce"},{"id":2,"name":"peter"}]'
Comments
Post a Comment