Display json in a new browser tab page Display json in a new browser tab page json json

Display json in a new browser tab page


try

something = window.open("data:text/json," + encodeURIComponent(mysdata),                       "_blank");something.focus();

from Open a new tab/window and write something to it?