nst</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Saves a JSON animation spec file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filePath</td><td>Path to save the file to. </td></tr>
    <tr><td class="paramname">imageDir</td><td>Directory where frame files are to be saved if not the same path as the animation spec. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if save was successfu