title: How to convert object to json file for three.js model loader
body: <p>I am building a browser game with <code>three.js</code> and I want to load a model from Maya 2013 into my scene. I have exported the model as an obj file. </p>
  
  <p>Now I need to know how to convert it into an JS file for the <code>three.js</code>-loader. </p>
  
  <p>This is my loader so far:</p>
  
  <pre><code> var jsonLoader = new THREE.JSONLoader();
   jsonLoader.load( "models/model.js", addModelToScene );
  </code></pre>
  
  <p>Thanks in advance</p>