Open topic with navigation

# 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.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm