# Write Documents to Disk in JSON Format

To write documents to disk in JSON format, configure a `JsonWriter` processing task by setting the `Pre`, `Post`, `Update`, or `Delete` configuration parameter.

To configure the task with default settings, specify the file name for the output file:

    [ImportTasks]
    Pre0=JsonWriter:pre.jsn
    Post0=JsonWriter:post.jsn

Alternatively, set the parameter to `JsonWriter`, followed by a colon (`:`), followed by the name of the section in the configuration file that contains custom settings for the task. For example:

    [ImportTasks]
    Post0=JsonWriter:PostJsonWriting

    [PostJsonWriting]
    JsonWriterFilename=post.jsn
    JsonWriterMaxSizeKBs=1000
    JsonWriterArchiveDirectory=./JSONarchive

For information about the parameters that you can use to configure this task, refer to the Connector Framework Server Reference.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm