Convert json from published editor to threejs script?

I was just wondering, is there a way to do this? I know hitting “publish” allows you to export the scene json, html and parser scripts to run. I’m guessing the answer must be hidden somewhere in the parser? I sometimes use the online editor to block things out so it’d be very useful, but I’m not sure if it even exists.