x
var myObj = {name: "John", age: 31, city: "New York"}; var myJSON = JSON.stringify(myObj); window.location = "demo_json.php?x=" + myJSON;
Pro tip: use ```triple backticks around text``` to write in code fences