
to_json
=======



.. py:function:: stimupy.utils.to_json(stim, filename)


   Save stimulus-dict(s) as (pretty) JSON

   :param stim: stimulus dictionary to export.
   :type stim: dict
   :param filename: (full) path to the file to be created.
   :type filename: Path or str




 