fork(1) download
  1. function toSource(obj) {
  2. var source = [];
  3. for (var p in obj){
  4. if (!obj.hasOwnProperty(p)) continue;
  5. source[source.length] =
  6. toSource(p) + ":"
  7. + (obj[p] ? toSource(obj[p]) :
  8. typeof obj[p] === "undefined" ? "undefined" : "null");
  9. }
  10. return "({" + source.toString() + "})";
  11. }
  12. o={
  13. "path": {
  14. "temppath": "D:\\Temp\\AutoConvert",
  15. "dgindex": "C:\\TV\\dgmpgdec\\DGIndex.exe",
  16. "dgindexnv": "C:\\TV\\dgdecnv\\DGIndexNV.exe",
  17. "ts2aac": "C:\\TV\\ts2aac\\ts2aac.exe",
  18. "comskip": "C:\\TV\\comskip\\comskip.exe",
  19. "comskipini": "$AutoConvert$\\Preset\\comskip.ini",
  20. "caption2ass": "C:\\TV\\Caption2Ass\\Caption2Ass_PCR.exe",
  21. "logoguillo": "C:\\TV\\logoGuillo\\logoGuillo.exe",
  22. "dgdecode": "$AutoConvert$\\Avisynth\\DGDecode.dll",
  23. "logoframe": "C:\\TV\\logoframe\\logoframe.exe",
  24. "chapterexe": "C:\\TV\\chapter_exe\\chapter_exe.exe",
  25. "joinlogoscp": "C:\\TV\\join_logo_scp\\join_logo_scp.exe",
  26. "jlsavs": "$AutoConvert$\\Preset\\jls.avs",
  27. "jlscmd": "$AutoConvert$\\Preset\\jls.txt",
  28. "avspmod": "C:\\TV\\AvsPmod\\AvsPmod.exe",
  29. "autovfr": "C:\\TV\\AutoVfr\\AutoVfr.exe",
  30. "autovfrini": "$AutoConvert$\\Preset\\AutoVfr.ini",
  31. "autovfravs": "$AutoConvert$\\Preset\\autovfr.avs",
  32. "avs2pipemod": "C:\\TV\\avs2pipemod\\avs2pipemod.exe",
  33. "neroaacenc": "C:\\TV\\NeroAACCodec\\neroAacEnc.exe",
  34. "fawcl": "C:\\TV\\faw\\fawcl.exe",
  35. "tssplitter": "C:\\TV\\TsSplitter\\TsSplitter.exe",
  36. "tsconnector": "C:\\TV\\TsTimeKeeper\\TsConnector.exe",
  37. "x264": "C:\\TV\\x264\\x264.exe",
  38. "mp4box": "C:\\TV\\MP4Box\\MP4Box.exe"
  39. },
  40. "settings": {
  41. "dgindex": "-ia 3 -fo 0 -yr 1 -exit -minimize",
  42. "neroaacenc": "-cbr 320000 -lc",
  43. "tssplitter": "-EIT -ECM -EMM -SD -1SEG",
  44. "logoguillo": "",
  45. "logoframe": "",
  46. "chapterexe": "-m 15 -s 10",
  47. "joinlogoscp": "",
  48. "autovfr": "-skip 1 -ref 150",
  49. "failurepause": false,
  50. "tssconnect": false,
  51. "mintrim": 5,
  52. "window": 7
  53. }
  54. }
  55.  
  56.  
  57. print(toSource(o));
Runtime error #stdin #stdout 0.02s 5464KB
stdin
Standard input is empty
stdout
Standard output is empty