diff --git a/doc/manual/source/running-dynare.rst b/doc/manual/source/running-dynare.rst index c9a78dd086ae130d629cf8b0c64279a50c3796fb..7051108bb0398306ab7ddaf1ad49b1fd1e83a158 100644 --- a/doc/manual/source/running-dynare.rst +++ b/doc/manual/source/running-dynare.rst @@ -193,14 +193,20 @@ by the ``dynare`` command. Suppresses all warnings. - .. option:: json = parse|transform|compute + .. option:: json = parse|check|transform|compute - Causes the preprocessor to output a version of the ``.mod`` - file in JSON format. + Causes the preprocessor to output a version of the ``.mod`` file in + JSON format. When the JSON output is created depends on the value + passed. These values represent various steps of processing in the + preprocessor. - If ``parse`` is passed, the output will be written after the - parsing of the ``.mod`` file to a file called - ``FILENAME.json``. + If ``parse`` is passed, the output will be written after the parsing of + the ``.mod`` file to a file called ``FILENAME.json`` but before file + has been checked (e.g. if there are unused exogenous in the model + block, the JSON output will be created before the preprocessor exits). + + If ``check`` is passed, the output will be written to a file called + ``FILENAME.json`` after the model has been checked. If ``transform`` is passed, the JSON output of the transformed model (maximum lead of 1, minimum lag of -1, expectation