SyntaxFix
Write A Post
Hire A Developer
Questions
Try the code below, using jQuery extend method:
var json1 = {"name":"ramesh","age":"12"}; var json2 = {"member":"true"}; document.write(JSON.stringify($.extend(true,{},json1,json2)))